Custom Server API References > Mercury.QTP.WPF.CustomServer Namespace > IUtilityObject Interface > IUtilityObject Interface Methods > KeyUp Method
Simulates a Key Up operation.

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 KeyUp( _
   ByVal ScanCode As Byte _
) 
C# 
virtual void KeyUp( 
   byte ScanCode
)

Parameters

ScanCode
Key's scan code.

See Also