語言

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

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

備註

StoreProduct.Videos 與 StoreSku.Videos 屬性會回傳此類物件。

屬性

名稱 Description
Caption

他會拿到影片的標題。

Height

它能取得影片的高度,以像素為單位。

PreviewImage

取得影片預覽圖。

Uri

取得影片的 URI。

VideoPurposeTag

他拿到影片的標籤。

Width

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

適用於