Redigera

Dela via


ImmutableDictionary<TKey,TValue>.Clear Method

Definition

Retrieves an empty immutable dictionary that has the same ordering and key/value comparison rules as this dictionary instance.

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)

Returns

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

Applies to