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

 

Removes all items from the immutable list.

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

void ICollection<T>.Clear()

Exception Condition
NotSupportedException

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

Return to top
Show: