RAD Studio VCL Reference
TOwnedCollection.Create Constructor

Creates and initializes a TOwnedCollection instance.

constructor Create(AOwner: TPersistent; ItemClass: TCollectionItemClass);

The Create method takes two parameters: the name of an instance object descended from TPersistent and the name of a TCollectionItem descendant class. The first parameter is the owner of the TOwnedCollection instance. The second parameter determines the class of the items created by the Add method. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!