ImmutableDictionary<TKey,TValue>.IImmutableDictionary<TKey,TValue>.Clear Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.