ImmutableStack<T>.IImmutableStack<T>.Push(T) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Insere um elemento no topo da pilha imutável e devolve a nova pilha.
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
O elemento para empurrar para a pilha.
Devoluções
A nova pilha.
Implementações
Observações
Este membro é uma implementação explícita de membro de interface. Só pode ser usado quando a ImmutableStack<T> instância é transmitida para uma IImmutableStack<T> interface.