ImmutableSortedDictionary<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)

IImmutableDictionary<TKey, TValue> IImmutableDictionary<TKey, TValue>.Clear()

Return Value

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

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

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

Return to top
Show: