Language

ImmutableQueue.IImmutableQueue.Enqueue(T) Method

Definition

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

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

Parameters

value
T

The element to add.

Returns

The new immutable queue.

Implements

Remarks

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

Applies to