共用方式為


WalletItem.HeaderBackgroundImage 屬性

定義

警告

不再支援 ApplicationModel.Wallet 命名空間,且即將淘汰。 我們鼓勵開發人員避免使用此命名空間。

取得或設定電子錢包專案的頁首背景影像。

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

void HeaderBackgroundImage(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 HeaderBackgroundImage();

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

屬性值

專案的標頭背景影像。

屬性

適用於

另請參閱