Sign in Join
FPDoc Onlineexperiment

TOwnedCollection.Create constructor

Member of TOwnedCollectionpublicIn unit Classes

Create a new TOwnerCollection instance.

Declaration

pascal
constructor Create(AOwner: TPersistent; 
 AItemClass: TCollectionItemClass)

Description

Create creates a new instance of TOwnedCollection and stores the AOwner references. It will the value returned in the Owner property of the collection. The ItemClass class reference is passed on to the inherited constructor, and will be used to create new instances in the Insert and Add methods.

See also

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