Table of Contents

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

string

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

bool
true if the key was parsed successfully; otherwise, false.

Remarks

This method is case-insensitive.
See Also