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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.