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

 

Clears this instance.

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

private:
virtual void Clear() sealed = IDictionary::Clear

Exception Condition
NotSupportedException

The dictionary object is read-only.

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

Return to top
Show: