IImmutableStack<T>.Push(T) Metodo

Definizione

Inserisce un elemento all'inizio dello stack non modificabile e restituisce il nuovo stack.Inserts an element at the top of the immutable stack and returns the new stack.

public:
 System::Collections::Immutable::IImmutableStack<T> ^ Push(T value);
public System.Collections.Immutable.IImmutableStack<T> Push (T value);
abstract member Push : 'T -> System.Collections.Immutable.IImmutableStack<'T>
Public Function Push (value As T) As IImmutableStack(Of T)

Parametri

value
T

Elemento da inserire nello stack.The element to push onto the stack.

Restituisce

IImmutableStack<T>

Nuovo stack.The new stack.

Si applica a