ImmutableSortedSet<T>.IImmutableSet<T>.Clear 方法

定义

检索排序和顺序语义与此实例相同的空不可变集。

 virtual System::Collections::Immutable::IImmutableSet<T> ^ System.Collections.Immutable.IImmutableSet<T>.Clear() = System::Collections::Immutable::IImmutableSet<T>::Clear;
System.Collections.Immutable.IImmutableSet<T> IImmutableSet<T>.Clear ();
abstract member System.Collections.Immutable.IImmutableSet<T>.Clear : unit -> System.Collections.Immutable.IImmutableSet<'T>
override this.System.Collections.Immutable.IImmutableSet<T>.Clear : unit -> System.Collections.Immutable.IImmutableSet<'T>
Function Clear () As IImmutableSet(Of T) Implements IImmutableSet(Of T).Clear

返回

排序和顺序语义与此实例相同的空集。

实现

注解

此成员是显式接口成员的实现。 它只能在 ImmutableSortedSet<T> 实例被强制转换为 IImmutableSet<T> 接口时使用。

System.Collections.Immutable NuGet 包

关于不可变集合以及如何安装

适用于