Compartilhar via


WalletItem.Barcode Propriedade

Definição

Cuidado

O namespace ApplicationModel.Wallet não tem mais suporte e em breve será preterido. Os desenvolvedores são incentivados a evitar o uso desse namespace.

Obtém ou define o código de barras que representa o item da carteira.

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

Valor da propriedade

O código de barras do item.

Atributos

Aplica-se a

Confira também