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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.