System.Generics.Collections.TList.ExtractItem
Delphi
function ExtractItem(const Value: T; Direction: TDirection): T; inline;
C++
T __fastcall ExtractItem(const T Value, System::Types::TDirection Direction);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TList |
Description
Removes and returns a list entry, looping through the list items in the specified direction.
This function is identical to Extract, only that it allows you to specify in which Direction to search the list, which allows you to increase the performance of this operation if you know whether Value is towards the beginning or towards the end of the list.