Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / KeyboardMapper Object / Contains2 Method
A Keys value that specifies the key sequence for which to query.
Indicates whether this key is an extended key. For IBM Enhanced 101-key and 102-key keyboards, extended keys are the right ALT and the right CTRL keys on the main keyboard; the INS, DEL, HOME, END, PAGE UP, PAGE DOWN, and arrow keys to the left of the numeric keypad; and the slash (/) and ENTER keys in the numeric keypad.
In This Topic
    Contains2 Method
    In This Topic
    Returns whether there is a mapping for a specified key combination in the current keyboard map.
    Syntax
    expression.Contains2( _
       ByVal key As Keys, _
       ByVal isExtendedKey As Boolean _
    ) As Boolean
    where expression is a variable that represents a KeyboardMapper Object

    Parameters

    key
    A Keys value that specifies the key sequence for which to query.
    isExtendedKey
    Indicates whether this key is an extended key. For IBM Enhanced 101-key and 102-key keyboards, extended keys are the right ALT and the right CTRL keys on the main keyboard; the INS, DEL, HOME, END, PAGE UP, PAGE DOWN, and arrow keys to the left of the numeric keypad; and the slash (/) and ENTER keys in the numeric keypad.

    Return Value

    True if the current keyboard map contains a mapping for key, false if not.
    See Also