TListBase<T>.Remove(T) Method

Removes the first occurrence of a specific element from the ICollection<T>.

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

Parameters

item
Type: T

The element to remove from the ICollection<T>.

Return Value

Type: Boolean

True if item was successfully removed from the ICollection<T>; otherwise, False. This method also returns False if item is not found in the original ICollection<T>.

Overrides

TCollectionBase<T>.Remove(T)