WalletItem.PromotionalImage 属性

定义

注意

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

获取或设置钱包项的促销图像。

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

属性值

将作为流显示在卡背面的钱包项目的促销图像。

属性

适用于

另请参阅