RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAggregatedObject::Controller Property

Provides access to the controlling interface of the aggregate.

Pascal
property Controller: IInterface;
C++
__property IInterface Controller;

System::TAggregatedObject::Controller is the interface reference of the aggregate. System::TAggregatedObject is used as part of an aggregate that has a single controlling IInterface. The IInterface methods that are implemented in aggregated objects are delegated to the System::TAggregatedObject::Controller. 

When the aggregated object is created, its constructor is passed a controlling IInterface. System::TAggregatedObject::Controller is initialized to this IInterface in the constructor. 

 

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