Sign in Join
FPDoc Onlineexperiment

TAggregatedObject.Create constructor

Member of TAggregatedObjectpublicIn unit System

Create a new instance of TAggregatedObject.

Declaration

pascal
constructor Create(const aController: IUnknown)

Description

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.

Errors

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.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.