Share via


ClaimedBarcodeScanner.SetSymbologyAttributesAsync Method

Definition

Sets the attributes of the barcode symbology used by the claimed barcode scanner.

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)

Parameters

barcodeSymbology
UInt32

unsigned int

uint32_t

The barcode symbology.

attributes
BarcodeSymbologyAttributes

The barcode symbology attributes.

Returns

True if the barcode symbology attributes were successfully set; otherwise, false.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to