RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAggregatedObject::Create Constructor

Instantiates an aggregated object.

Pascal
constructor Create(const Controller: IInterface);
C++
Create(const IInterface Controller);

Call System::TAggregatedObject::Create to instantiate an aggregated object at runtime. 

System::TAggregatedObject::Create allocates memory for an aggregated object and sets the System::TAggregatedObject::Controller property to the System::TAggregatedObject::Controller parameter passed to it. The System::TAggregatedObject::Controller is the controlling interface of the aggregate. All other interfaces implemented in the aggregate delegate IInterface method calls to this System::TAggregatedObject::Controller

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!