Share via


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

2/27/2008

Gets the decoded bar code label type. Possible values are defined by the BarCodeSymbology enumeration.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property ScanDataType As BarCodeSymbology
public abstract BarCodeSymbology ScanDataType { get; }
public:
virtual property BarCodeSymbology ScanDataType {
    BarCodeSymbology get () abstract;
}
/** @property */
public abstract BarCodeSymbology get_ScanDataType ()
public abstract function get ScanDataType () : BarCodeSymbology

Remarks

When the DecodeData property is set to false, the ScanDataType property is typically set to Unknown.

When the DecodeData property is set to true, the Service Object tries to determine the scan label type.

ScanDataType is set by the Service Object only before delivering the DataEvent event to the application.

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
Scanner.DecodeData Property
DataEvent
BarCodeSymbology Enumeration