语言

StoreVideo 类

定义

表示与Microsoft Store中的产品列表关联的视频。

public ref class StoreVideo 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 StoreVideo 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 StoreVideo
Public NotInheritable Class StoreVideo
继承
Object Platform::Object IInspectable StoreVideo
属性

Windows 要求

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

注解

StoreProduct.Videos 和 StoreSku.Videos 属性返回此类型的对象。

属性

名称 说明
Caption

获取视频的标题。

Height

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

PreviewImage

获取为视频显示的预览图像。

Uri

获取视频的 URI。

VideoPurposeTag

获取视频的标记。

Width

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

适用于