Component handle expression
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Component handle expression
Every method or property reference must begin with a component handle expression that returns a component handle value. This is the syntax to specify a component handle expression:
Syntax
|
- COMhandle
- A component handle variable. (Note that the first element in
a component handle expression must be a
COM-HANDLEvariable.) - Method-Name-Reference
- Specifies a single COM object method or property that returns a component handle value. A component handle expression can chain as many method and property references as required to return the handle to a particular COM object.
- Property-Name-Reference
- Specifies a single COM object method or property that returns a component handle value. A component handle expression can chain as many method and property references as required to return the handle to a particular COM object.
Note: For the most efficient dispatch of multiple references
to a particular COM object, assign the initial component handle
expression for the COM object to a
COM-HANDLE variable.
Each reference to a given component handle expression incurs additional
run-time overhead for each method or property referenced.