ImmutableInterlocked.Enqueue<T>(ImmutableQueue<T>, T) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Alinha atomicamente um elemento até ao final de uma fila.
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)
Parâmetros de Tipo Genérico
- T
O tipo de itens contidos na coleção.
Parâmetros
- location
- ImmutableQueue<T>
A variável ou campo para atualizar atomicamente.
- value
- T
O valor a enfileirar.