Sign in Join
FPDoc Onlineexperiment

TCollection.Create constructor

Member of TCollectionpublicIn unit Classes

Creates a new collection.

Declaration

pascal
constructor Create(AItemClass: TCollectionItemClass)

Description

Create instantiates a new instance of the TCollection class which will manage objects of class AItemClass. It creates the list used to hold all objects, and stores the AItemClass for the adding of new objects to the collection.

See also

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