ItemByIndex Method (ContextMenus)
Returns the context menu at the specified index in the session document's context menu collection
expression.ItemByIndex( _
ByVal 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
Exception | Description |
ArgumentOutOfRangeException | Thrown if the index argument is invalid. |