When implemented by a class, adds an Object to the set.
[Visual Basic]
Function Add( _
ByVal value As Object _
) As Boolean
true if the Object was successfully added;
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