Attachmate Reflection 2014 .NET API Reference
Contains(Keys,Boolean) Method


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 section of the keyboard; the INS, DEL, HOME, END, PAGE UP, PAGE DOWN, and arrow keys in the clusters to the left of the numeric keypad; and the slash (/) and ENTER keys in the numeric keypad.
Returns whether there is a mapping for a specified key combination in the current keyboard map.
Syntax
'Declaration
 
Overloads Function Contains( _
   ByVal key As Keys, _
   ByVal isExtendedKey As Boolean _
) As Boolean
'Usage
 
Dim instance As IKeyboardMapper
Dim key As Keys
Dim isExtendedKey As Boolean
Dim value As Boolean
 
value = instance.Contains(key, isExtendedKey)
bool Contains( 
   Keys key,
   bool isExtendedKey
)

Parameters

key
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 section of the keyboard; the INS, DEL, HOME, END, PAGE UP, PAGE DOWN, and arrow keys in the clusters 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.
Requirements

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also

Reference

IKeyboardMapper Interface
IKeyboardMapper Members
Overload List

Send Feedback