InfoConnect for Airlines
ContextMenuItem Constructor(String,ContextMenuItemType,InputMapActionSequence)


The name of the item. This is the text that will appear within the context menu for the item. For separator menu items, this value is ignored.
What type of menu item this is
The action mapping for this item, if a menu item, otherwise ignored.
Initializes a new instance of the ContextMenuItem class.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal type As ContextMenuItemType, _
   ByVal mapping As InputMapActionSequence _
)
'Usage
 
Dim name As String
Dim type As ContextMenuItemType
Dim mapping As InputMapActionSequence
 
Dim instance As New ContextMenuItem(name, type, mapping)

Parameters

name
The name of the item. This is the text that will appear within the context menu for the item. For separator menu items, this value is ignored.
type
What type of menu item this is
mapping
The action mapping for this item, if a menu item, otherwise ignored.
Exceptions
ExceptionDescription
System.ArgumentExceptionThrown if namecontains any illegal characters.
See Also