UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
CreateKeyboardEventInfo(KeyboardEvent,Int64,Int32,Int32,Char) Method
The KeyboardEvent to create the KeyboardEventInfo for.
The time the event occurred.
A mask of values of HP.LFT.SDK.KeyModifier representing the modifier keys down during event.
The key pressed.
The Unicode character generated by this event.
Creates a KeyboardEventInfo with parameters: newEditBox, when, modifiers,keyCode, and keyChar.
Syntax
public static KeyboardEventInfo CreateKeyboardEventInfo( 
   KeyboardEvent keyboardEvent,
   long when,
   int modifiers,
   int keyCode,
   char keyChar
)

Parameters

keyboardEvent
The KeyboardEvent to create the KeyboardEventInfo for.
when
The time the event occurred.
modifiers
A mask of values of HP.LFT.SDK.KeyModifier representing the modifier keys down during event.
keyCode
The key pressed.
keyChar
The Unicode character generated by this event.

Return Value

a new instance of KeyboardEventInfo with the given parameters.