ImmutableInterlocked.Enqueue<T>(ImmutableQueue<T>, 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.
Atomically enqueues an element to the end of a queue.
public:
generic <typename T>
static void Enqueue(System::Collections::Immutable::ImmutableQueue<T> ^ % location, T value);
public static void Enqueue<T> (ref System.Collections.Immutable.ImmutableQueue<T> location, T value);
static member Enqueue : ImmutableQueue * 'T -> unit
Public Shared Sub Enqueue(Of T) (ByRef location As ImmutableQueue(Of T), value As T)
Type Parameters
- T
The type of items contained in the collection.
Parameters
- location
- ImmutableQueue<T>
The variable or field to atomically update.
- value
- T
The value to enqueue.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.