Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft