Adds the specified element to this set if it is not already present.
Namespace: Iesi.Collections.GenericAssembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)
Syntax
C# |
---|
public bool Add( T o ) |
Visual Basic |
---|
Public Function Add ( _ o As T _ ) As Boolean |
Visual C++ |
---|
public: virtual bool Add( T o ) sealed |
Parameters
- o
- Type: T
The object to add to the set.
Return Value
nothingExceptions
Exception | Condition |
---|---|
System..::..NotSupportedException | is always thrown |