語言

StoreImage 類別

定義

代表與 Windows 商店中產品列表相關的圖片。

public ref class StoreImage sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Store.StoreContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StoreImage final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StoreImage
Public NotInheritable Class StoreImage
繼承
Object Platform::Object IInspectable StoreImage
屬性

Windows 需求

規格需求 Description
裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Services.Store.StoreContract (已於 v1.0 引進)

備註

StoreProduct.Images、StoreSku.Images 和 StoreVideo.PreviewImage 屬性會回傳此類物件。

屬性

名稱 Description
Caption

取得圖片說明。

Height

它會取得圖片的高度,以像素為單位。

ImagePurposeTag

取得圖片的標籤。

Uri

取得影像的 URI。

Width

它會取得影像的寬度,以像素為單位。

適用於