语言

JsonExtensions.Dequeue<T>(List<T>) 方法

定义

移除队列的第一个元素。

public static T Dequeue<T>(this System.Collections.Generic.List<T> queue);
static member Dequeue : System.Collections.Generic.List<'T> -> 'T
<Extension()>
Public Function Dequeue(Of T) (queue As List(Of T)) As T

类型参数

T

元素类型。

参数

queue
List<T>

列出从哪里移除第一个元素。

返回

T

元素被移除。

适用于