共用方式為


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

屬性值

卡片背面顯示的電子包專案的促銷影像,以資料流程顯示。

屬性

適用於

另請參閱