語言

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

元素已移除。

適用於