ICollection<T>.Extract Method

Definition

Removes the first occurrence of a specific element from the collection without triggering lifetime management for objects.

Delphi
function Extract(const item: T): T

Parameters

item
T

The element to remove from the collection.

Returns

T

The element that was removed from the collection.