Share via


BumpBar.EventUnitId Property

Holds the bump bar unit ID causing a DataEvent.

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

Usage

'Usage
Dim bumpBar1 As BumpBar

Dim returnValue As DeviceUnits
returnValue = bumpBar1.EventUnitId

Syntax

'Declaration
Public MustOverride ReadOnly Property EventUnitId() As DeviceUnits
public abstract DeviceUnits EventUnitId {get;}
public: property virtual DeviceUnits^ EventUnitId{
    DeviceUnits^ get();
}
public abstract DeviceUnits get_EventUnitId();
public abstract function get EventUnitId() : DeviceUnits;

Remarks

Just before the service object delivers a DataEvent event to the application, it sets EventUnitID to the bump bar unit ID causing the event. The unit ID definitions range from Unit1 to Unit32.

EventUnitID is typically initialized to Unit1. It should then be kept current by the service object based on the bump bar unit ID.

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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

BumpBar Class
BumpBar Members
Microsoft.PointOfService Namespace
DataEvent