PosKeyboard.EventTypes Property (POS for .NET v1.12 SDK Documentation)
2/27/2008
Gets or sets the type of events that the application wants to receive.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Property EventTypes As KeyboardEventType
public abstract KeyboardEventType EventTypes { get; set; }
public:
virtual property KeyboardEventType EventTypes {
KeyboardEventType get () abstract;
void set (KeyboardEventType value) abstract;
}
/** @property */
public abstract KeyboardEventType get_EventTypes ()
/** @property */
public abstract void set_EventTypes (KeyboardEventType value)
public abstract function get EventTypes () : KeyboardEventType
public abstract function set EventTypes (value : KeyboardEventType)
Remarks
EventTypes is set by the application immediately before receiving input, to tell the service object which types of key events it should generate. Possible types are defined by the KeyboardEventType enumerator.
EventTypes is typically initialized to KeyboardEventType.Down.
Accessing EventTypes may throw a PosControlException exception with the following errorcode:
Value |
Meaning |
Illegal |
The EventTypes property was set to KeyboardEventType.DownUp but the CapKeyUp property is set to false. This indicates that key-up strokes are not captured. |
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
PosKeyboard.CapKeyUp Property
KeyboardEventType Enumeration