語言

ImmutableSortedDictionary<TKey,TValue>.Clear 方法

定義

擷取空的不可變排序字典,其順序和索引鍵/值比較規則與這個字典實例相同。

public:
 System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ Clear();
public System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> Clear();
member this.Clear : unit -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function Clear () As ImmutableSortedDictionary(Of TKey, TValue)

傳回

一個空字典,具有等效的排序和鍵值比較規則。

適用於