ClaimedBarcodeScanner.SetSymbologyAttributesAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置声明的条形码扫描仪使用的条形码符号系统的属性。
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 中引入)
|