Freigeben über


BarcodeScannerReport Klasse

Definition

Enthält die Barcodescannerdaten.

public ref class BarcodeScannerReport sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BarcodeScannerReport final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.PointOfService.IBarcodeScannerReportFactory, 393216, "Windows.Foundation.UniversalApiContract")]
class BarcodeScannerReport final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.PointOfService.IBarcodeScannerReportFactory, 393216, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BarcodeScannerReport final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BarcodeScannerReport
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.PointOfService.IBarcodeScannerReportFactory), 393216, "Windows.Foundation.UniversalApiContract")]
public sealed class BarcodeScannerReport
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.PointOfService.IBarcodeScannerReportFactory), 393216, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BarcodeScannerReport
function BarcodeScannerReport(scanDataType, scanData, scanDataLabel)
Public NotInheritable Class BarcodeScannerReport
Vererbung
Object Platform::Object IInspectable BarcodeScannerReport
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Hinweise

Auf dieses Objekt wird zugegriffen, wenn Sie die Report-Eigenschaft des BarcodeScannerDataReceivedEventArgs-Objekts abrufen.

Versionsverlauf

Windows-Version SDK-Version Wertschöpfung
1803 17134 BarcodeScannerReport

Konstruktoren

BarcodeScannerReport(UInt32, IBuffer, IBuffer)

Erstellt eine instance von BarcodeScannerReport.

Eigenschaften

ScanData

Ruft die vollständigen Rohdaten aus dem DataReceived-Ereignis ab.

ScanDataLabel

Ruft die decodierte Barcodebezeichnung ab, die den Header, die Prüfsumme und andere sonstige Informationen nicht enthält.

ScanDataType

Ruft den decodierten Barcodebezeichnungstyp ab. Mögliche Werte werden in der BarcodeSymbologies-Klasse definiert.

Gilt für:

Weitere Informationen