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 套件

關於不可變的集合以及如何安裝

適用於