System.Contnrs.TClassList.Add
Delphi
function Add(AClass: TClass): Integer; inline;
C++
HIDESBASE int __fastcall Add(System::TClass AClass);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Contnrs.pas System.Contnrs.hpp |
System.Contnrs | TClassList |
Description
Inserts a new class at the end of the list.
Call Add to insert a new class at the end of the Items array. Add returns the index of the new class, where the first class in the list has an index of 0.
Add increments Count and, if necessary, allocates memory by increasing the value of Capacity.