ImmutableInterlocked.Push<T>(ImmutableStack<T>, T) Methode

Definitie

Hiermee wordt een nieuw element naar de stapel gepusht.

public:
generic <typename T>
 static void Push(System::Collections::Immutable::ImmutableStack<T> ^ % location, T value);
public static void Push<T>(ref System.Collections.Immutable.ImmutableStack<T> location, T value);
static member Push : ImmutableStack * 'T -> unit
Public Shared Sub Push(Of T) (ByRef location As ImmutableStack(Of T), value As T)

Type parameters

T

Het type items in de stapel.

Parameters

location
ImmutableStack<T>

De stack die moet worden bijgewerkt.

value
T

De waarde die moet worden gepusht op de stack.

Van toepassing op