PosKeyboardBase.KeyUp Method
2/27/2008
If true, the keyboard device is able to generate both key-down and key-up input data, based on the value of the EventTypes property.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Syntax
'Declaration
Protected Sub KeyUp ( _
keyData As Integer _
)
protected void KeyUp (
int keyData
)
protected:
void KeyUp (
int keyData
)
protected void KeyUp (
int keyData
)
protected function KeyUp (
keyData : int
)
Parameters
- keyData
The keyData parameter contains the value of the key pressed, defined as a logical key code in the upper 16 bits and a scan code in the lower 16 bits, where the values need not match a standard PC keyboard's values.
Remarks
If the application wants to receive key-up data, the service object calls KeyUp when the user releases a key (which typically generates a hardware interrupt). The PosKeyboardBase class implementation of KeyUp queues a data event to the application.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
PosKeyboardBase Class
PosKeyboardBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace