System.TAggregatedObject.Create

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

constructor Create(const Controller: IInterface);

C++

__fastcall TAggregatedObject(const _di_IInterface Controller);

プロパティ

種類 可視性 ソース ユニット
constructor public
System.pas
systobj.h
System TAggregatedObject

説明

集約オブジェクトをインスタンス化します。

Create コンストラクタを呼び出すと,実行時に集約オブジェクトをインスタンス化できます。

Create コンストラクタは集約オブジェクトにメモリを割り当て,渡された Controller パラメータを Controller プロパティに設定します。Controller は集約オブジェクトの制御用インターフェースです。集約オブジェクト内で実装されるほかのすべてのインターフェースは,この ControllerIInterface メソッドの呼び出しを委任します。

関連項目