Class VirtualKeyExtensions
- Namespace
- Whim
- Assembly
- Whim.dll
Extension methods for VIRTUAL_KEY.
public static class VirtualKeyExtensions
- Inheritance
-
VirtualKeyExtensions
- Inherited Members
Methods
GetKeyString(VIRTUAL_KEY)
Return the VIRTUAL_KEY as a string.
public static string GetKeyString(this VIRTUAL_KEY key)
Parameters
key
VIRTUAL_KEY
Returns
TryParseKey(string, out VIRTUAL_KEY)
Try to parse a key from a string.
public static bool TryParseKey(this string keyString, out VIRTUAL_KEY key)
Parameters
keyString
string- The string to parse.
key
VIRTUAL_KEY- The parsed key.
Returns
Remarks
This method is case-insensitive.
- See Also