TOwnedCollection.Create

Create a new TOwnerCollection instance.

Declaration

Source position: classesh.inc line 577

public 
  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 TCollection.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

Name Description
TCollection.Create Creates a new collection.
TCollection.Owner Owner of the collection.

results matching ""

    No results matching ""