編集

次の方法で共有


ImmutableStack<T>.Push(T) Method

Definition

Inserts an object at the top of the immutable stack and returns the new stack.

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

Parameters

value
T

The object to push onto the stack.

Returns

The new stack.

Applies to