When implemented by a class, adds all the elements in the specified collection that are not already contained in the set.
[Visual Basic]
Function Add( _
ByVal collection As ICollection _
) As Boolean
true if the set is modified; otherwise false.
| Exception Type | Condition |
|---|---|
| System.NotSupportedException | The set is read-only. -or-The set has a fixed size. |
ISet Interface | ISet Members | Foley.Utilities.Collections Namespace | ISet.Add Overload List