ICollection<T>.Remove Method

Definition

Removes the first occurrence of a specific element from the collection.

Delphi
function Remove(const item: T): Boolean

Parameters

item
T

The element to remove from the collection.

Returns

Boolean

True if item was successfully removed from the collection; otherwise, False . This method also returns False if item is not found in the collection.