ImmutableSortedSet<T>.IList.Clear 方法

定义

从集内中移除所有项。Removes all items from the set.

 virtual void System.Collections.IList.Clear() = System::Collections::IList::Clear;
void IList.Clear ();
Sub Clear () Implements IList.Clear

实现

异常

在所有情况下均引发。Thrown in all cases.

注解

此成员是显式接口成员实现。This member is an explicit interface member implementation. 它只能在 ImmutableSortedSet<T> 实例被强制转换为 IList 接口时使用。It can be used only when the ImmutableSortedSet<T> instance is cast to an IList interface.

System.object NuGet 包System.Collections.Immutable NuGet package

关于不可变集合以及如何安装About immutable collections and how to install

适用于