API:System.Win.ComObj.TConnectionPoint.Create

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

Delphi

constructor Create(Container: TConnectionPoints;  const IID: TGUID; Kind: TConnectionKind; OnConnect: TConnectEvent);

C++

__fastcall TConnectionPoint(TConnectionPoints* Container, const GUID &IID, TConnectionKind Kind, TConnectEvent OnConnect);

プロパティ

種類 可視性 ソース ユニット
constructor public
System.Win.ComObj.pas
System.Win.ComObj.hpp
System.Win.ComObj TConnectionPoint

説明

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

System.Win.ComObj.TConnectionPoint.Create は System.TAggregatedObject.Create を継承しています。以下の内容はすべて System.TAggregatedObject.Create を参照しています。

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

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

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

関連項目