InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / IContextMenus Interface / Add Method


In This Topic
    Add Method (IContextMenus)
    In This Topic
    Adds (or updates an existing) context menu to this session document
    Syntax
    'Declaration
     
    
    Function Add( _
       ByVal menu As IContextMenu _
    ) As Boolean
    'Usage
     
    
    Dim instance As IContextMenus
    Dim menu As IContextMenu
    Dim value As Boolean
     
    value = instance.Add(menu)

    Parameters

    menu
    The context menu to add

    Return Value

    True if the add or update was successful, false if an error occurred
    See Also