ImmutableStack<T>.IImmutableStack<T>.Push(T) メソッド

定義

変更できないスタックの先頭に要素を挿入し、新しいスタックを返します。

 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

パラメーター

value
T

スタックにプッシュする要素。

返品

新しいスタック。

実装

注釈

このメンバーは、明示的なインターフェイス メンバーの実装です。 ImmutableStack<T> インスタンスがIImmutableStack<T> インターフェイスにキャストされている場合にのみ使用できます。

適用対象