THashSet<T>.Remove(T) Method

Removes the specified element from a THashSet<T> object.

Namespace: Spring.Collections.Sets
public
 function Remove(const item: T): Boolean; override;

Parameters

item
Type: T

The element to remove.

Return Value

Type: Boolean

True if the element is successfully found and removed; otherwise, False. This method returns False if item is not found in the THashSet<T> object.

Overrides

TCollectionBase<T>.Remove(T)