API:System.Contnrs.TObjectList

Delphi
TObjectList = class(TList)
C++
class PASCALIMPLEMENTATION TObjectList : public System::Classes::TList
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | System.Contnrs.pas System.Contnrs.hpp |
System.Contnrs | System.Contnrs |
Description
TList stores an array of pointers. {{#multireplace:System.Contnrs.TObjectList|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Classes.TList|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Classes.TList|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.