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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Win.VCLCom.pas System.Win.VCLCom.hpp |
System.Win.VCLCom | TComponentFactory |
Description
Instantiates an instance of a TComponentFactory object.
Create allocates memory for a TComponentFactory object, and calls the inherited Create, passing its parameters in the same order. The ComponentClass parameter is passed cast as a TAutoClass and passed to the AutoClass parameter.