編輯

共用方式為


IImmutableDictionary<TKey,TValue>.Clear Method

Definition

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)

Returns

An empty dictionary with equivalent ordering and key/value comparison rules.

Applies to