BarcodeScannerReport(UInt32, IBuffer, IBuffer) 构造函数

定义

创建 BarcodeScannerReport 的实例。

public:
 BarcodeScannerReport(unsigned int scanDataType, IBuffer ^ scanData, IBuffer ^ scanDataLabel);
 BarcodeScannerReport(uint32_t const& scanDataType, IBuffer const& scanData, IBuffer const& scanDataLabel);
public BarcodeScannerReport(uint scanDataType, IBuffer scanData, IBuffer scanDataLabel);
function BarcodeScannerReport(scanDataType, scanData, scanDataLabel)
Public Sub New (scanDataType As UInteger, scanData As IBuffer, scanDataLabel As IBuffer)

参数

scanDataType
UInt32

unsigned int

uint32_t

解码的条形码标签类型。

scanData
IBuffer

完整的原始扫描数据。

scanDataLabel
IBuffer

解码的条形码标签。

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

适用于