API:Vcl.AxCtrls.TStringsAdapter.Create
Delphi
constructor Create(Strings: TStrings);
C++
__fastcall TStringsAdapter(System::Classes::TStrings* Strings);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.AxCtrls.pas Vcl.AxCtrls.hpp |
Vcl.AxCtrls | TStringsAdapter |
Description
Create instantiates an automation interface object.
Vcl.AxCtrls.TStringsAdapter.Create inherits from System.Win.ComObj.TAutoIntfObject.Create. All content below this line refers to System.Win.ComObj.TAutoIntfObject.Create.
Create instantiates an automation interface object.
You must use the constructor to instantiate TAutoIntfObject descendants because there is no built-in class factory support.
TypeLib is an ITypeLib interface that can return the type information for DispIntf.
DispIntf is the GUID for the object you are creating.
Create allocates memory for an automation interface object, uses TypeLib to access the type information for DispIntf, and initializes the DispIntfEntry property.