ImmutableDictionary<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 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.