Foley .NET Utilities Class Library

ISet.Add Method (Object)

When implemented by a class, adds an Object to the set.

[Visual Basic]
Function Add( _
   ByVal value As Object _
) As Boolean
[C#]
bool Add(
   object value
);

Parameters

value
The Object to add to the set.

Return Value

true if the Object was successfully added; otherwise, false.

Exceptions

Exception TypeCondition
System.NotSupportedException

The set is read-only.

-or-

The set has a fixed size.

See Also

ISet Interface | ISet Members | Foley.Utilities.Collections Namespace | ISet.Add Overload List