IImmutableStack<T>.Clear 方法

定义

从不可变堆栈中移除所有对象。Removes all objects from the immutable stack.

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

返回

空的不可变堆栈。An empty immutable stack.

适用于