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

元素已删除。

适用于