Method FromString
FromString(string)
Converts string representation of the key to the Key enumeration.
public static Key FromString(string source)
Parameters
source
stringString representation of the key.
Returns
- Key
Key value parsed from string.
Exceptions
- NotSupportedException
Raised when string representation of the key is unknown.