ImmutableQueue<T>.IImmutableQueue<T>.Enqueue Method (T)

 

Adds an element to the end of the immutable queue, and returns the new queue.

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

IImmutableQueue<T> IImmutableQueue<T>.Enqueue(
	T value
)

Parameters

value
Type: T

The element to add.

Return Value

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

The new immutable queue.

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.

Return to top
Show: