InfoConnect for Airlines
ItemByIndex Method (IContextMenus)


The position within the collection to return a menu for.
Returns the context menu at the specified index in the session document's context menu collection
Syntax
'Declaration
 
Function ItemByIndex( _
   ByVal index As Integer _
) As IContextMenu
'Usage
 
Dim instance As IContextMenus
Dim index As Integer
Dim value As IContextMenu
 
value = instance.ItemByIndex(index)
IContextMenu ItemByIndex( 
   int index
)

Parameters

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

Return Value

The context menu at the specified position
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionThrown if the index argument is invalid.
See Also