Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : COMMethod
 

COMMethod

The following syntax describes a COM object method access with optional chaining of COM object references:

Syntax

[ { COMProperty | COMMethod } : ] ...
  Method-Name ( [COMparm [ , COMparm ] ... ] )
This syntax describes a potential chain of COM object references that result in a COM object method call. Method-Name is the effective name of the invoked method. COMparm is a parameter as required by the method (see COMParm). You must not follow the colon separator by a space.
Any COMProperty or COMMethod that precedes the final Method-Name must return a COM object reference that provides access to the immediately following Method-Name. The final method call can return any supported COM data type.