ImmutableStack<T>.IImmutableStack<T>.Clear Method ()


Removes all elements from the immutable stack.

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

IImmutableStack<T> IImmutableStack<T>.Clear()

Return Value

Type: System.Collections.Immutable.IImmutableStack<T>

The empty immutable stack.

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.

Return to top