ImmutableSortedDictionary<TKey,TValue>.Clear 方法

定义

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

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)

返回

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

适用于