Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / ContextMenu Object / GetContextMenuItem Method
The name of the menu item, as it is displayed within the menu. This applies only to items of type ContextMenuItemType.MenuItem
In This Topic
    GetContextMenuItem Method (ContextMenu)
    In This Topic
    Returns a context menu item with the specified name.
    Syntax
    expression.GetContextMenuItem( _
       ByVal itemName As String _
    ) As ContextMenuItem
    where expression is a variable that represents a ContextMenu Object

    Parameters

    itemName
    The name of the menu item, as it is displayed within the menu. This applies only to items of type ContextMenuItemType.MenuItem

    Return Value

    A ContextMenuItem object with the specified name, or null if no such item exists.
    Remarks
    This method cannot be used to return separator menu items, as they cannot be uniquely identified.
    See Also