System.Win.VCLCom.TComponentFactory.CreateComObject

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

Delphi

function CreateComObject(const Controller: IUnknown): TComObject; override;

C++

virtual System::Win::Comobj::TComObject* __fastcall CreateComObject(const System::_di_IInterface Controller);

プロパティ

種類 可視性 ソース ユニット
function public
System.Win.VCLCom.pas
System.Win.VCLCom.hpp
System.Win.VCLCom TComponentFactory


説明

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

Controller が指定されている場合、それは TComponentFactory の新しいインスタンスのコントローラとして使用されます。Controller は、オブジェクトが集合の一部の場合にはコントロール オブジェクトであり、そうでなければ nil となります。

関連項目