RanorexRanorex Documentation
ToKey Method (key)
NamespacesRanorexKeyboardToKey(String)
Converts the specified string representation (see ToString(Keys)) to a Keys value.
Declaration Syntax
C#Visual BasicVisual C++
public static Keys ToKey(
	string key
)
Public Shared Function ToKey ( _
	key As String _
) As Keys
public:
static Keys ToKey(
	String^ key
)
Parameters
key (String)
The string represenation of a key.
Return Value
The key value.
Exceptions
ExceptionCondition
ArgumentExceptionIf the string representation of the key is invalid.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.3.16825 (3.2.3.16825)