Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / ContextMenus Object / Contains Method
The descriptive name of the menu
In This Topic
    Contains Method (ContextMenus)
    In This Topic
    Returns a value indicating whether a context menu of a given name exists in this session document.
    Syntax
    expression.Contains( _
       ByVal name As String _
    ) As Boolean
    where expression is a variable that represents a ContextMenus Object

    Parameters

    name
    The descriptive name of the menu

    Return Value

    True if the menu exists, false if it does not
    Exceptions
    ExceptionDescription
    If the name passed is null or empty
    If the ContextMenus object is not available or in an error state
    See Also