Bagikan melalui


ClaimedBarcodeScanner.SetSymbologyAttributesAsync Metode

Definisi

Mengatur atribut simbiologi kode batang yang digunakan oleh pemindai kode batang yang diklaim.

public:
 virtual IAsyncOperation<bool> ^ SetSymbologyAttributesAsync(unsigned int barcodeSymbology, BarcodeSymbologyAttributes ^ attributes) = SetSymbologyAttributesAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> SetSymbologyAttributesAsync(uint32_t const& barcodeSymbology, BarcodeSymbologyAttributes const& attributes);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> SetSymbologyAttributesAsync(uint barcodeSymbology, BarcodeSymbologyAttributes attributes);
function setSymbologyAttributesAsync(barcodeSymbology, attributes)
Public Function SetSymbologyAttributesAsync (barcodeSymbology As UInteger, attributes As BarcodeSymbologyAttributes) As IAsyncOperation(Of Boolean)

Parameter

barcodeSymbology
UInt32

unsigned int

uint32_t

Simbologi kode batang.

attributes
BarcodeSymbologyAttributes

Atribut simbologi kode batang.

Mengembalikan

True jika atribut simbologi kode batang berhasil diatur; jika tidak, salah.

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)

Berlaku untuk