IImmutableQueue<T>.Enqueue(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.