API:System.Contnrs.TClassList

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TListSystem.TObjectTClassList

Delphi

TClassList = class(TList)

C++

class PASCALIMPLEMENTATION TClassList : 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.

System.Contnrs.TClassList inherits from System.Classes.TList. All content below this line refers to System.Classes.TList.

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.

See Also