ImmutableQueue<T>.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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.