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.ImagesStoreSku.ImagesStoreVideo.PreviewImage 属性返回此类型的对象。

属性

Caption

获取图像的描述文字。

Height

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

ImagePurposeTag

获取图像的 标记。

Uri

获取图像的 URI。

Width

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

适用于