[This is preliminary documentation and is subject to change.]

Gets key code of key that was pressed.

Namespace: Tools.DevicesT
Assembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public Keys Key { get; }
Visual Basic
Public ReadOnly Property Key As Keys
	Get
Visual C++
public:
property Keys Key {
	Keys get ();
}
F#
member Key : Keys
JScript
function get Key () : Keys

Remarks

Value of this property never contains combining keys Control, Shift and Alt. Low-level keyboar messages supports onyl ALT combining key. Its state can be obtained via AltState

See Also