Share via


Scanner.DataEvent Event (POS for .NET v1.12 SDK Documentation)

2/27/2008

Raised by the Service Object to present scanned data from the device to the application.

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

Syntax

'Declaration
Public Event DataEvent As DataEventHandler
public abstract event DataEventHandler DataEvent
public:
virtual event DataEventHandler^ DataEvent {
    void add (DataEventHandler^ value) abstract;
    void remove (DataEventHandler^ value) abstract;
}
/** @event */
public abstract void add_DataEvent (DataEventHandler value)

/** @event */
public abstract void remove_DataEvent (DataEventHandler value)

Remarks

The DataEventArgs.Status property is always 0 (zero). The Service Object places the scanned data in the ScanData, ScanDataLabel, and ScanDataType properties prior to delivering the DataEvent event to the application.

See Also

Reference

Scanner Class
Scanner Members
Microsoft.PointOfService Namespace
DataEventArgs Class
DataEventHandler Delegate