Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / ContextMenus Object / ItemByName Method
The descriptive name of the menu
In This Topic
    ItemByName Method (ContextMenus)
    In This Topic
    Returns the context menu associated with the specified descriptive name.
    Syntax
    expression.ItemByName( _
       ByVal name As String _
    ) As ContextMenu object 
    where expression is a variable that represents a ContextMenus Object

    Parameters

    name
    The descriptive name of the menu

    Return Value

    The ContextMenu object associated with name, or null if it does not exist
    Exceptions
    ExceptionDescription
    If the name passed is null or empty
    If the ContextMenus object is not available or in an error state
    See Also