System.Classes.TList
Delphi
TList = class(TObject)
C++
class PASCALIMPLEMENTATION TList : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.Classes.pas System.Classes.hpp |
System.Classes | System.Classes |
Description
TList stores an array of pointers.
TList, which stores an array of pointers, is often used to maintain lists of objects. TList introduces properties and methods to:
- Add or delete the objects in the list.
- Rearrange the objects in the list.
- Locate and access objects in the list.
- Sort the objects in the list.
Note: It is recommended to use System.Generics.Collections.TList, which is the generic version of this class, as it offers a more modern coding style.