ClaimedBarcodeScanner.SetSymbologyAttributesAsync 方法

定义

设置声明的条形码扫描仪使用的条形码符号系统的属性。

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)

参数

barcodeSymbology
UInt32

unsigned int

uint32_t

条形码符号系统。

attributes
BarcodeSymbologyAttributes

条形码符号系统属性。

返回

如果已成功设置条形码符号系统属性,则为 True;否则为 false。

属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

适用于