IImmutableDictionary<TKey,TValue>.Clear IImmutableDictionary<TKey,TValue>.Clear IImmutableDictionary<TKey,TValue>.Clear IImmutableDictionary<TKey,TValue>.Clear Method

定义

检索排序规则和键/值比较规则与此字典实例相同的空字典。Retrieves an empty dictionary that has the same ordering and key/value comparison rules as this dictionary instance.

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

返回

具有等效排序规则和键/值比较规则的空字典。An empty dictionary with equivalent ordering and key/value comparison rules.

适用于