共用方式為


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

適用於