Share via


ImageScanner.DataCount Property

2/27/2008

Gets the number of currently queued DataEvent events.

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

Syntax

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

Remarks

Indicates the total number of currently queued DataEvent events at the service object. All online units are included in this value.

The application can interrogate the DataCount property 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.

The DataCount property is set and 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.

See Also

Reference

ImageScanner Class
ImageScanner Members
Microsoft.PointOfService Namespace
ImageScanner.DataCount Property
DataEvent