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

 

Adds an item to the set.

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

void ICollection<T>.Add(
	T item
)

Parameters

item
Type: T

The object to add to the set.

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: