ImmutableQueue<T>.Dequeue Method (T)


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

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public ImmutableQueue<T> Dequeue(
	out T value


Type: T

When this method returns, contains the element from the beginning of the queue.

Return Value

Type: System.Collections.Immutable.ImmutableQueue<T>

The new immutable queue with the beginning element removed.

Return to top