Jaa


WalletItem.PromotionalImage 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 promotional image of the wallet item.

public:
 property IRandomAccessStreamReference ^ PromotionalImage { IRandomAccessStreamReference ^ get(); void set(IRandomAccessStreamReference ^ value); };
IRandomAccessStreamReference PromotionalImage();

void PromotionalImage(IRandomAccessStreamReference 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")]
IRandomAccessStreamReference PromotionalImage();

void PromotionalImage(IRandomAccessStreamReference value);
public IRandomAccessStreamReference PromotionalImage { get; set; }
public IRandomAccessStreamReference PromotionalImage { [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 iRandomAccessStreamReference = walletItem.promotionalImage;
walletItem.promotionalImage = iRandomAccessStreamReference;
Public Property PromotionalImage As IRandomAccessStreamReference

Property Value

The promotional image of the wallet item that will be displayed on back of the card, as a stream.

Attributes

Applies to

See also