ImmutableQueue<T>.IImmutableQueue<T>.Dequeue 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.