ImmutableStack<T>.Clear Method

Definition

Removes all objects from the immutable stack.

public:
 System::Collections::Immutable::ImmutableStack<T> ^ Clear();
public System.Collections.Immutable.ImmutableStack<T> Clear ();
member this.Clear : unit -> System.Collections.Immutable.ImmutableStack<'T>
Public Function Clear () As ImmutableStack(Of T)

Returns

An empty immutable stack.

Applies to