语言

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 要求

要求 说明
设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Services.Store.StoreContract (在 v1.0 中引入)

注解

StoreProduct.Images、StoreSku.Images 和 StoreVideo.PreviewImage 属性返回此类型的对象。

属性

名称 说明
Caption

获取图像的标题。

Height

获取图像的高度(以像素为单位)。

ImagePurposeTag

获取图像的标记。

Uri

获取映像的 URI。

Width

获取图像的宽度(以像素为单位)。

适用于