Export (0) Print
Expand All

ImmutableStack<T>.IImmutableStack<T>.Push Method

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

Namespace:  System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

IImmutableStack<T> IImmutableStack<T>.Push(
	T value
)

Parameters

value
Type: T

The element to push onto the stack.

Return Value

Type: System.Collections.Immutable.IImmutableStack<T>
The new stack.

Implements

IImmutableStack<T>.Push(T)

This member is an explicit interface member implementation. It can be used only when the ImmutableStack<T> instance is cast to an IImmutableStack<T> interface.

Show:
© 2014 Microsoft