ImmutableStack<T>.IImmutableStack<T>.Push(T) Metoda

Definicja

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

 virtual System::Collections::Immutable::IImmutableStack<T> ^ System.Collections.Immutable.IImmutableStack<T>.Push(T value) = System::Collections::Immutable::IImmutableStack<T>::Push;
System.Collections.Immutable.IImmutableStack<T> IImmutableStack<T>.Push (T value);
abstract member System.Collections.Immutable.IImmutableStack<T>.Push : 'T -> System.Collections.Immutable.IImmutableStack<'T>
override this.System.Collections.Immutable.IImmutableStack<T>.Push : 'T -> System.Collections.Immutable.IImmutableStack<'T>
Function Push (value As T) As IImmutableStack(Of T) Implements IImmutableStack(Of T).Push

Parametry

value
T

Element do wypchnięcia na stos.

Zwraca

Nowy stos.

Implementuje

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy ImmutableStack<T> wystąpienie jest rzutowe do interfejsu IImmutableStack<T> .

Dotyczy