ImmutableHashSet<T>.ICollection<T>.Add(T) Method  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an item to the set.
 virtual void System.Collections.Generic.ICollection<T>.Add(T item) = System::Collections::Generic::ICollection<T>::Add;void ICollection<T>.Add(T item);abstract member System.Collections.Generic.ICollection<T>.Add : 'T -> unit
override this.System.Collections.Generic.ICollection<T>.Add : 'T -> unitSub Add (item As T) Implements ICollection(Of T).AddParameters
- item
- T
The object to add to the set.
Implements
Exceptions
The set is read-only.
Remarks
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.