Share via


Scanner.DataCount Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets the number of data events currently queued by the Service Object.

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

The application can read 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.

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

Scanner Class
Scanner Members
Microsoft.PointOfService Namespace
DataEvent