System.TAggregatedObject.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(const Controller: IInterface);

C++

__fastcall TAggregatedObject(const _di_IInterface Controller);

Properties

Type Visibility Source Unit Parent
constructor public
System.pas
systobj.h
System TAggregatedObject

Description

Instantiates an aggregated object.

Call Create to instantiate an aggregated object at run time.

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

See Also