TCollectionBase<T>.Remove(T) Method
Removes the first occurrence of a specific element from the ICollection<T>.
public
function Remove(const item: T): Boolean; virtual; abstract;
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>.