System.Win.VCLCom.TComponentFactory.CreateComObject
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 となります。