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> 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.

적용 대상