Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IContextMenu Interface / AddMenuItem Method
A new context menu item


In This Topic
    AddMenuItem Method (IContextMenu)
    In This Topic
    Adds a new context menu item to the end of the menu.
    Syntax
    'Declaration
     
    
    Sub AddMenuItem( _
       ByVal item As ContextMenuItem _
    ) 
    'Usage
     
    
    Dim instance As IContextMenu
    Dim item As ContextMenuItem
     
    instance.AddMenuItem(item)
    void AddMenuItem( 
       ContextMenuItem item
    )

    Parameters

    item
    A new context menu item
    See Also