Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / ContextMenus Object / ItemByIndex Method
The position within the collection to return a menu for.
ItemByIndex Method (ContextMenus)
Returns the context menu at the specified index in the session document's context menu collection
Syntax
expression.ItemByIndex( _
   ByVal index As Integer _
) As ContextMenu object 
where expression is a variable that represents a ContextMenus Object

Parameters

index
The position within the collection to return a menu for.

Return Value

The ContextMenu object at the specified position
Exceptions
ExceptionDescription
Thrown if the index argument is invalid.
See Also