ImmutableQueue.Dequeue<T>(IImmutableQueue<T>, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the item at the beginning of the immutable queue, and returns the new queue.
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Immutable::IImmutableQueue<T> ^ Dequeue(System::Collections::Immutable::IImmutableQueue<T> ^ queue, [Runtime::InteropServices::Out] T % value);
public static System.Collections.Immutable.IImmutableQueue<T> Dequeue<T> (this System.Collections.Immutable.IImmutableQueue<T> queue, out T value);
static member Dequeue : System.Collections.Immutable.IImmutableQueue<'T> * 'T -> System.Collections.Immutable.IImmutableQueue<'T>
<Extension()>
Public Function Dequeue(Of T) (queue As IImmutableQueue(Of T), ByRef value As T) As IImmutableQueue(Of T)
Type Parameters
- T
The type of elements in the immutable queue.
Parameters
- queue
- IImmutableQueue<T>
The queue to remove the item from.
- value
- T
When this method returns, contains the item from the beginning of the queue.
Returns
The new queue with the item removed.
Exceptions
The stack is empty.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.