InfoConnect for Unisys
Attachmate.Reflection.Emulation.OpenSystems Namespace / IKeyboardMapper Interface / Contains Method / Contains(Keys) Method
The key sequence for which to query.


In This Topic
    Contains(Keys) Method
    In This Topic
    Returns whether there is a mapping for a specified key combination in the current keyboard map. This method only works for non-extended keys.
    Syntax
    'Declaration
     
    
    Overloads Function Contains( _
       ByVal key As Keys _
    ) As Boolean
    'Usage
     
    
    Dim instance As IKeyboardMapper
    Dim key As Keys
    Dim value As Boolean
     
    value = instance.Contains(key)
    bool Contains( 
       Keys key
    )

    Parameters

    key
    The key sequence for which to query.

    Return Value

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