ImmutableHashSet<T>.ICollection<T>.Clear Method ()

 

Removes all items from this set.

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

void ICollection<T>.Clear()

Exception Condition
NotSupportedException

The set is read-only.

This member is an explicit interface member implementation. It can be used only when the ImmutableHashSet<T> instance is cast to an ICollection<T> interface.

Return to top
Show: