Create a new instance of TAggregatedObject.
Source position: objpash.inc line 381
public constructor TAggregatedObject.Create( |
const aController: IUnknown |
); |
Create creates a new instance of TAggregatedObject on the heap, and stores a reference to aController, so it can be exposed in the Controller property.
If not enough memory is present on the heap, an exception will be raised. If the aController is Nil, exceptions will occur when any of the TAggregatedObject methods (actually, the IUnknown methods) are used.
|
Controlling instance. |