COMProperty

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

Syntax

[ { COMProperty | COMMethod } : ] ...
  Property-Name [ ( index [ , index ] ... ) ]

Property-Name is the name of the accessed property. The optional multi-level index is an integer expression as required by the property. You must not follow the colon separator by a space.

Any COMProperty or COMMethod that precedes the final Property-Name must return a COM object reference that provides access to the immediately following Property-Name. The final property access can return any supported COM data type.