Edit

Share via


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

Definition

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

 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

Returns

The immutable dictionary instance.

Implements

Applies to