ImmutableStack<T>.Push(T) Metoda

Definicja

Wstawia obiekt w górnej części niezmiennego stosu i zwraca nowy stos.

public:
 System::Collections::Immutable::ImmutableStack<T> ^ Push(T value);
public System.Collections.Immutable.ImmutableStack<T> Push (T value);
member this.Push : 'T -> System.Collections.Immutable.ImmutableStack<'T>
Public Function Push (value As T) As ImmutableStack(Of T)

Parametry

value
T

Obiekt do wypchnięcia do stosu.

Zwraca

Nowy stos.

Dotyczy