ImmutableDictionary<TKey, TValue>::IImmutableDictionary<TKey, TValue>::Clear Method ()

 

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

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

private:
virtual IImmutableDictionary<TKey, TValue>^ Clear() sealed = IImmutableDictionary<TKey, TValue>::Clear

Return Value

Type: System.Collections.Immutable::IImmutableDictionary<TKey, TValue>^

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

This member is an explicit interface member implementation. It can be used only when the ImmutableDictionary<TKey, TValue> instance is cast to an IImmutableDictionary<TKey, TValue> interface.

Return to top
Show: