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

Definição

Insere um elemento na parte superior da pilha imutável e retorna 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 a ser enviado para a pilha.

Retornos

A nova pilha.

Implementações

Comentários

Esse membro é uma implementação de membro de interface explícita. Ele só pode ser usado quando a ImmutableStack<T> instância é convertida em uma IImmutableStack<T> interface.

Aplica-se a