System.Win.VCLCom.TComponentFactory.Create
Delphi
constructor Create(ComServer: TComServerObject; ComponentClass: TComponentClass; const ClassID: TGUID; Instancing: TClassInstancing; ThreadingModel: TThreadingModel = tmSingle);
C++
__fastcall TComponentFactory(System::Win::Comobj::TComServerObject* ComServer, System::Classes::TComponentClass ComponentClass, const GUID &ClassID, System::Win::Comobj::TClassInstancing Instancing, System::Win::Comobj::TThreadingModel ThreadingModel);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | System.Win.VCLCom.pas System.Win.VCLCom.hpp |
System.Win.VCLCom | TComponentFactory |
説明
TComponentFactory オブジェクトのインスタンスをインスタンス化します。
Create メソッドは,TComponentFactory オブジェクト用にメモリを割り当ててから,継承された Create を呼び出し,同じ順序でパラメータを渡します。ComponentClass パラメータは,TAutoClass として AutoClass パラメータに渡されます。