Modifica

Condividi tramite


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

Definition

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

 virtual System::Collections::Immutable::IImmutableQueue<T> ^ System.Collections.Immutable.IImmutableQueue<T>.Enqueue(T value) = System::Collections::Immutable::IImmutableQueue<T>::Enqueue;
System.Collections.Immutable.IImmutableQueue<T> IImmutableQueue<T>.Enqueue (T value);
abstract member System.Collections.Immutable.IImmutableQueue<T>.Enqueue : 'T -> System.Collections.Immutable.IImmutableQueue<'T>
override this.System.Collections.Immutable.IImmutableQueue<T>.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<T> instance is cast to an IImmutableQueue<T> interface.

Applies to