Editar

Compartilhar via


ImmutableQueue<T>.Enqueue(T) Method

Definition

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

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

Parameters

value
T

The element to add.

Returns

The new immutable queue.

Applies to