Modifica

Condividi tramite


IImmutableStack<T>.Pop Method

Definition

Removes the element at the top of the immutable stack and returns the new stack.

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

Returns

The new stack; never null.

Exceptions

The stack is empty.

Applies to