[This is preliminary documentation and is subject to change.]
Gets state of particular key.
Namespace: Tools.DevicesTAssembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public static bool this[
Keys Key
] { get; } |
| Visual Basic |
|---|
Public Shared ReadOnly Property KeyStatus ( _
Key As Keys _
) As Boolean
Get |
| Visual C++ |
|---|
public:
static property bool KeyStatus[Keys Key] {
bool get (Keys Key);
} |
| F# |
|---|
static member KeyStatus : bool
|
| JScript |
|---|
JScript does not support indexed properties. |
Return Value
True if key is pressed at time when the property is being got.
Remarks
See Also