help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions] Reference for unit 'contnrs' (#fcl)

TClassList.Add

Add a new class pointer to the list.

Declaration

Source position: contnrs.pp line 119

public function TClassList.Add(

  AClass: TClass

):Integer;

Arguments

AClass

  

Class pointer to add.

Function result

Index at which the class pointer was added.

Description

Add adds AClass to the list, and returns the position at which it was added. It simply overrides the TList bevahiour, and introduces no new functionality.

Errors

If not enough memory is available to expand the list, an exception may be raised.

See also

TClassList.Extract

  

Extract a class pointer from the list.

#rtl.classes.tlist.add

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505