Adds an Object into the HashSet.
[Visual Basic]
Overrides Overloads Public Function Add( _
ByVal value As Object _
) As Boolean Implements _
ISet.Add
true
if the HashSet is modified; otherwise false
.
Exception Type | Condition |
---|---|
System.ArgumentNullException |
The value is a null reference
(Nothing in Visual Basic).
|
HashSet Class | HashSet Members | Foley.Utilities.Collections Namespace | HashSet.Add Overload List