ISet<T>.Add(T) Method

Adds an element to the current set and returns a value to indicate if the element was successfully added.

Namespace: Spring.Collections
public
 function Add(const item: T): Boolean;

Parameters

item
Type: T

The element to add to the set.

Return Value

Type: Boolean

True if the element is added to the set; False if the element is already in the set.