ImmutableStack.Pop<T>(IImmutableStack<T>, T) Metodo

Definizione

Rimuove l'elemento specificato da uno stack non modificabile.Removes the specified item from an immutable stack.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::IImmutableStack<T> ^ Pop(System::Collections::Immutable::IImmutableStack<T> ^ stack, [Runtime::InteropServices::Out] T % value);
public static System.Collections.Immutable.IImmutableStack<T> Pop<T> (this System.Collections.Immutable.IImmutableStack<T> stack, out T value);
static member Pop : System.Collections.Immutable.IImmutableStack<'T> * 'T -> System.Collections.Immutable.IImmutableStack<'T>
<Extension()>
Public Function Pop(Of T) (stack As IImmutableStack(Of T), ByRef value As T) As IImmutableStack(Of T)

Parametri di tipo

T

Tipo di elementi contenuti nello stack.The type of items contained in the stack.

Parametri

stack
IImmutableStack<T>

Stack da modificare.The stack to modify.

value
T

Elemento da rimuovere dallo stack.The item to remove from the stack.

Restituisce

IImmutableStack<T>

Stack; mai null.A stack; never null.

Eccezioni

Lo stack è vuoto.The stack is empty.

Si applica a