ImmutableDictionary<TKey,TValue>.IImmutableDictionary<TKey,TValue>.Clear 方法

定义

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

 virtual System::Collections::Immutable::IImmutableDictionary<TKey, TValue> ^ System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.Clear() = System::Collections::Immutable::IImmutableDictionary<TKey, TValue>::Clear;
System.Collections.Immutable.IImmutableDictionary<TKey,TValue> IImmutableDictionary<TKey,TValue>.Clear ();
abstract member System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.Clear : unit -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
override this.System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.Clear : unit -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
Function Clear () As IImmutableDictionary(Of TKey, TValue) Implements IImmutableDictionary(Of TKey, TValue).Clear

返回

不可变字典实例。

实现

适用于