Editar

Partilhar via


ImmutableQueue<T>.IImmutableQueue<T>.Dequeue Method

Definition

Removes the element at the beginning of the immutable queue, and returns the new queue.

 virtual System::Collections::Immutable::IImmutableQueue<T> ^ System.Collections.Immutable.IImmutableQueue<T>.Dequeue() = System::Collections::Immutable::IImmutableQueue<T>::Dequeue;
System.Collections.Immutable.IImmutableQueue<T> IImmutableQueue<T>.Dequeue ();
abstract member System.Collections.Immutable.IImmutableQueue<T>.Dequeue : unit -> System.Collections.Immutable.IImmutableQueue<'T>
override this.System.Collections.Immutable.IImmutableQueue<T>.Dequeue : unit -> System.Collections.Immutable.IImmutableQueue<'T>
Function Dequeue () As IImmutableQueue(Of T) Implements IImmutableQueue(Of T).Dequeue

Returns

The new immutable queue; never null.

Implements

Exceptions

The queue is empty.

Remarks

This member is an explicit interface member implementation. It can be used only when the ImmutableQueue<T> instance is cast to an IImmutableQueue<T> interface.

Applies to