共用方式為


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

屬性值

專案的條碼。

屬性

適用於

另請參閱