System.Win.ObjComAuto.TObjectDispatch.Create
Delphi
constructor Create(Instance: TObject; Owned: Boolean = True);
C++
__fastcall TObjectDispatch(System::TObject* Instance, bool Owned);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
constructor | public | System.Win.ObjComAuto.pas System.Win.ObjComAuto.hpp |
System.Win.ObjComAuto | TObjectDispatch |
Beschreibung
Erstellt und initialisiert eine TObjectDispatch-Instanz.
Die folgende Tabelle beschreibt die Konstruktorparameter:
Parameter | Beschreibung |
---|---|
Instance
|
Die Automatisierungsserver-Instanz. Sie können auf diese Instanz über die Eigenschaft Instance zugreifen. |
Owned
|
Bei True gibt der Destruktor TObjectDispatch die Automatisierungsserver-Instanz frei. |