Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / ContextMenus Object / Add Method
In This Topic
    Add Method (ContextMenus)
    In This Topic
    Adds (or updates an existing) context menu to this session document
    Syntax
    expression.Add( _
       ByVal menu As ContextMenu _
    ) As Boolean
    where expression is a variable that represents a ContextMenus Object

    Parameters

    menu
    The ContextMenu object to add

    Return Value

    True if the add or update was successful, false if an error occurred
    Exceptions
    ExceptionDescription
    If the name passed is null or empty
    If the ContextMenus object is not available or in an error state
    See Also