ImmutableSortedSet<T>.Clear 方法

定义

从不可变排序集内移除所有元素。Removes all elements from the immutable sorted set.

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

返回

已移除元素的空集。An empty set with the elements removed.

注解

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

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

适用于