RanorexRanorex Documentation
GetSequenceFromKeyEvents Method (keyEvents)
NamespacesRanorexKeyboardGetSequenceFromKeyEvents(IList<(Of <(KeyValuePair<(Of <(KeyEventArgs, Boolean>)>)>)>))
Gets a string that can be passed to Press(String) from a list of key events.
Declaration Syntax
C#Visual BasicVisual C++
public static string GetSequenceFromKeyEvents(
	IList<KeyValuePair<KeyEventArgs, bool>> keyEvents
)
Public Shared Function GetSequenceFromKeyEvents ( _
	keyEvents As IList(Of KeyValuePair(Of KeyEventArgs, Boolean)) _
) As String
public:
static String^ GetSequenceFromKeyEvents(
	IList<KeyValuePair<KeyEventArgs^, bool>>^ keyEvents
)
Parameters
keyEvents (IList<(Of <(KeyValuePair<(Of <(KeyEventArgs, Boolean>)>)>)>))
A list of key events. Each key event is a pair of KeyEventArgs and a Boolean that specifies whether the key was pressed (true) or released (false).
Return Value
The key sequence represented as a string.
Remarks
The default upDownEventRearrangeMaxDistance is used.

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