THashSet<T>.Add(T) Method

Adds the specified element to a set.

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

Parameters

item
Type: T

The element to add to the set.

Return Value

Type: Boolean

True if the element is added to the THashSet<T> object; False if the element is already present.

Implements

ISet<T>.Add(T)