Sign in Join
FPDoc Onlineexperiment

TClassList.Add function

Member of TClassListpublicIn unit Contnrs

Add a new class pointer to the list.

Declaration

pascal
function 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.