ICollection<T>.ExtractRange Method

Overloads

ExtractRange(array of T)

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

ExtractRange(IEnumerable<T>)

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

ExtractRange(array of T)

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

Delphi
procedure ExtractRange(const values: array of T)

Parameters

values
array of T

The elements to remove from the collection.

ExtractRange(IEnumerable<T>)

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

Delphi
procedure ExtractRange(const values: IEnumerable<T>)

Parameters

values
IEnumerable<T>

The elements to remove from the collection.

Exceptions

values is nil .