System.Win.ComObj.TAutoIntfObject.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

constructor Create(const TypeLib: ITypeLib; const DispIntf: TGUID);

C++

__fastcall TAutoIntfObject(const _di_ITypeLib TypeLib, const GUID &DispIntf);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
constructor public
System.Win.ComObj.pas
System.Win.ComObj.hpp
System.Win.ComObj TAutoIntfObject

Beschreibung

Instantiiert ein TAutoIntfObject-Objekt.

Sie müssen den Konstruktor verwenden, um TAutoIntfObject-Nachkommen zu instantiieren, da kein integrierter Klassengenerator verfügbar ist.

TypeLib ist eine ITypeLib-Schnittstelle, welche die Typinformationen für DispIntf zurückgeben kann.

DispIntf ist die GUID für das Objekt, das Sie erstellen.

Create ordnet Speicher für ein Automatisierungsschnittstellenobjekt zu, verwendet TypeLib für den Zugriff auf Typinformationen für DispIntf und initialisiert die Eigenschaft DispIntfEntry.