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

Definitie

Voegt een element boven aan de onveranderbare stack in en retourneert de nieuwe stack.

 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

Parameters

value
T

Het element dat naar de stapel moet worden gepusht.

Retouren

De nieuwe stapel.

Implementeringen

Opmerkingen

Dit lid is een expliciete implementatie van interfaceleden. Deze kan alleen worden gebruikt wanneer het ImmutableStack<T> exemplaar naar een IImmutableStack<T> interface wordt gecast.

Van toepassing op