Redigera

Dela via


IImmutableQueue<T>.Enqueue(T) Method

Definition

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

public:
 System::Collections::Immutable::IImmutableQueue<T> ^ Enqueue(T value);
public System.Collections.Immutable.IImmutableQueue<T> Enqueue (T value);
abstract member Enqueue : 'T -> System.Collections.Immutable.IImmutableQueue<'T>
Public Function Enqueue (value As T) As IImmutableQueue(Of T)

Parameters

value
T

The element to add.

Returns

The new immutable queue with the specified element added.

Applies to