InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / ContextMenuItem Class / ContextMenuItem Constructor / 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.


In This Topic
    ContextMenuItem Constructor(String,ContextMenuItemType,InputMapActionSequence)
    In This Topic
    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
    Thrown if namecontains any illegal characters.
    See Also