Share via


WalletItem.Barcode Property

Definition

Caution

The ApplicationModel.Wallet namespace is no longer supported, and will soon be deprecated. Developers are encouraged to avoid using this namespace.

Gets or sets the barcode that's representative of the wallet item.

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

Property Value

The barcode of the item.

Attributes

Applies to

See also