GetClassicObject method
Applies to |
---|
Description
Using this method is the only way to access an OLE object from the COM API. Use this method when the corresponding OLE object provides methods that you need that are not implemented in the COM API.
[ReturnObject =] This Object.GetClassicObject
Part |
Data type |
Description |
---|---|---|
ThisObject |
Object |
An object expression that evaluates to an object in the above objects list. |
An object is returned. This object is the corresponding OLE object to the Object currently used. Below are some examples of OLE objects that are returned by the GetClassicObject method.
COM object |
Classic (OLE) object |
---|---|
ThisObject.GetClassicObject |
ReturnObject |
ManagerApp.GetClassicObject |
Application |
ScanApp.GetClassicObject |
Application |
InterpretApp.GetClassicObject |
Application |
VerifyApp.GetClassicObject |
Application |
TransferApp.GetClassicObject |
Application |
InvoiceField.GetClassicObject |
Field |
Invoice.GetClassicObject |
Invoice |
InvoiceDefinition.GetClassicObject |
Definition |
Job.GetClassicObject |
Job |
The corresponding classic object to ThisObject.