共用方式為


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 引進)

適用於