System.Win.ObjComAuto.TObjectDispatch.Create
Delphi
constructor Create(Instance: TObject; Owned: Boolean = True);
C++
__fastcall TObjectDispatch(System::TObject* Instance, bool Owned);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Win.ObjComAuto.pas System.Win.ObjComAuto.hpp |
System.Win.ObjComAuto | TObjectDispatch |
Description
Creates and initializes a TObjectDispatch instance.
The following table describes the constructor parameters:
Parameter | Description |
---|---|
Instance
|
The Automation server instance. You can access it through the Instance property. |
Owned
|
If True, then the TObjectDispatch destructor frees the Automation server instance. |