Share via


BumpBar.DataCount Property

Contains the number of queued DataEvent events.

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

Usage

'Usage
Dim bumpBar1 As BumpBar

Dim returnValue As Integer
returnValue = bumpBar1.DataCount

Syntax

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

Remarks

Indicates the total number of DataEvent events queued at the service object. All online units are included in this value. The number of queued events for a specific unit ID is stored in the BumpBarDataCount property.

The application can interrogate DataCount to determine whether additional input is queued from a device but has not yet been delivered because of other application processing, freezing of events, or other causes.

DataCount is typically initialized to zero. 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
BumpBarDataCount
DataEvent