System.Win.ObjComAuto.TObjectDispatch.Create

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

constructor Create(Instance: TObject; Owned: Boolean = True);

C++

__fastcall TObjectDispatch(System::TObject* Instance, bool Owned);

Propriétés

Type Visibilité  Source Unité  Parent
constructor public
System.Win.ObjComAuto.pas
System.Win.ObjComAuto.hpp
System.Win.ObjComAuto TObjectDispatch

Description

Crée et initialise une instance de TObjectDispatch.

Le tableau suivant décrit les paramètres de constructeur :

Paramètre Description
Instance L'instance du serveur Automation. Vous pouvez y accéder à l'aide de la propriété Instance.
Owned Si sa valeur est True, le destructeur de TObjectDispatch libère l'instance du serveur Automation.

Voir aussi