ImmutableStack<T>.Clear Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.