Adds the specified element to this set if it is not already present.

Namespace: Iesi.Collections
Assembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)

Syntax

C#
public override sealed bool Add(
	Object o
)
Visual Basic
Public Overrides NotOverridable Function Add ( _
	o As Object _
) As Boolean
Visual C++
public:
virtual bool Add(
	Object^ o
) override sealed

Parameters

o
Type: System..::..Object
The object to add to the set.

Return Value

trueTruetruetrue (True in Visual Basic) is the object was added, falseFalsefalsefalse (False in Visual Basic) if it was already present.

Implements

ISet..::..Add(Object)

See Also