Adds the elements of the specified ICollection to the set.
[Visual Basic]
Overridable Overloads Public Function Add( _
ByVal collection As ICollection _
) As Boolean Implements _
ISet.Add
true
if the set is modified; otherwise false
.
Exception Type | Condition |
---|---|
System.NullReferenceException |
The collection is a null reference
(Nothing in Visual Basic).
|
SetBase Class | SetBase Members | Foley.Utilities.Collections Namespace | SetBase.Add Overload List