Share via


BumpBar.BumpBarDataCount Property

Contains the number of queued DataEvents.

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

Usage

'Usage
Dim bumpBar1 As BumpBar

Dim returnValue As Integer
returnValue = bumpBar1.BumpBarDataCount

Syntax

'Declaration
Public MustOverride ReadOnly Property BumpBarDataCount() As Integer
public abstract int BumpBarDataCount {get;}
public: property virtual Int32 BumpBarDataCount{
    Int32 get();
}
public abstract int get_BumpBarDataCount();
public abstract function get BumpBarDataCount() : int;

Remarks

Indicates the number of DataEvents queued for the bump bar unit specified by the CurrentUnitId property.

An application can interrogate BumpBarDataCount to determine whether additional input is queued from a bump bar unit but has not yet been delivered because of other application processing, freezing of events, or other causes.

BumpBarDataCount is typically initialized to zero by the Open method. It should then be kept current by the service object while the device is enabled.

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
CurrentUnitId
DataEvent