ImmutableHashSet<T>.Clear 方法

定义

检索排序和顺序语义与此实例相同的空不可变哈希集。Retrieves an empty immutable hash set that has the same sorting and ordering semantics as this instance.

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

返回

排序和顺序语义与此实例相同的空哈希集。An empty hash set that has the same sorting and ordering semantics as this instance.

适用于