RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDefCollection.Create Constructor

Instantiates a TDefCollection object.

Pascal
constructor Create(ADataSet: TDataSet; AOwner: TPersistent; AClass: TCollectionItemClass);
C++
__fastcall TDefCollection(TDataSet ADataSet, TPersistent * AOwner, TCollectionItemClass AClass);

Do not call the Create method. TDefCollection objects are created by the dataset that uses them to manage definition objects. The ADataset parameter specifies the dataset that creates the TDefCollection object. It becomes the value of the DataSet property. The AOwner parameter indicates the object on whose behalf the definition is created. The AClass parameter specifies a descendant class of TNamedItem, and indicates the type of definition objects in the Items property array. 

 

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