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

Definition

Fügt ein Element oben im unveränderlichen Stapel ein und gibt den neuen Stapel zurück.

 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

Parameter

value
T

Das Element, das auf den Stapel verschoben werden soll.

Gibt zurück

Der neue Stapel.

Implementiert

Hinweise

Dieses Element ist eine explizite Schnittstellenmitgliedsimplementierung. Sie kann nur verwendet werden, wenn die ImmutableStack<T> Instanz in eine IImmutableStack<T> Schnittstelle umgegossen wird.

Gilt für: