Share via


PosKeyboard.PosKeyData Property

2/27/2008

Gets the value of the key from the last DataEvent event.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property PosKeyData As Integer
public abstract int PosKeyData { get; }
public:
virtual property int PosKeyData {
    int get () abstract;
}
/** @property */
public abstract int get_PosKeyData ()
public abstract function get PosKeyData () : int

Remarks

The value is defined as a logical key code in the upper 16 bits and a scan code in the lower 16 bits, where the values do not have to match a standard computer keyboard's values.

The application may treat the value of PosKeyData as device-independent, assuming that the system installer has configured the keyboard’s service object to translate internal key codes to the codes expected by the application. Such configuration is service object-specific.

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

PosKeyboard Class
PosKeyboard Members
Microsoft.PointOfService Namespace
DataEvent