PressNKeys Method

Simulates pressing a key the specified number of times.

Remarks

Use virtual keys, not characters. The Custom Server is responsible for placing the cursor at the desired location in the control before invoking this method.

Syntax

Visual Basic (Declaration) 
Overridable Sub PressNKeys( _
   ByVal ScanCode As Byte, _
   ByVal N As Integer _
) 
C# 
virtual void PressNKeys( 
   byte ScanCode,
   int N
)

Parameters

ScanCode
N
The number of times to press the key.

See Also