InfoConnect for Unisys VBA Guide
Attachmate.Reflection.Objects.Emulation.Common Library / ContextMenus Object / Remove Method
The descriptive name of the menu to remove
In This Topic
    Remove Method (ContextMenus)
    In This Topic
    Removes a context menu from this session document
    expression.Remove( _
       ByVal name As String _
    ) As Boolean
    where expression is a variable that represents a ContextMenus Object


    The descriptive name of the menu to remove

    Return Value

    True if the remove was successful, false if the menu name could not be found or an error occurred
    If the name passed is null
    If the name passed corresponds to the default menu, which cannot be deleted. This can be represented by an empty string, or the ContextMenu.DefaultMenuName constant
    If the ContextMenus object is not available or in an error state
    See Also