System.Win.VCLCom.TComponentFactory.Create

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

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 パラメータに渡されます。

関連項目