ImmutableStack<T>.IImmutableStack<T>.Push(T) Método

Definición

Inserta un elemento en la parte superior de la pila inmutable y devuelve la nueva pila.

 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

Parámetros

value
T

Elemento a insertar en la pila.

Devoluciones

Pila nueva.

Implementaciones

Comentarios

Este miembro es una implementación explícita de un miembro de interfaz. Solo se puede utilizar cuando la instancia de ImmutableStack<T> se convierte en una interfaz IImmutableStack<T>.

Se aplica a