WalletItem.Barcode 属性

定义

注意

ApplicationModel.Wallet 命名空间不再受支持,不久将弃用。 建议开发人员避免使用此命名空间。

获取或设置代表钱包项的条形码。

public:
 property WalletBarcode ^ Barcode { WalletBarcode ^ get(); void set(WalletBarcode ^ value); };
WalletBarcode Barcode();

void Barcode(WalletBarcode value);
/// [get: Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
WalletBarcode Barcode();

void Barcode(WalletBarcode value);
public WalletBarcode Barcode { get; set; }
public WalletBarcode Barcode { [Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")] set; }
var walletBarcode = walletItem.barcode;
walletItem.barcode = walletBarcode;
Public Property Barcode As WalletBarcode

属性值

项的条形码。

属性

适用于

另请参阅