ImmutableDictionary<TKey,TValue>.Clear 方法

定义

检索排序规则和键/值比较规则与此字典实例相同的空不可变字典。

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

返回

具有等效排序规则和键/值比较规则的空字典。

适用于