共用方式為


StoreProductResult 類別

定義

提供要求的回應資料,以擷取目前應用程式的詳細資料。

public ref class StoreProductResult 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 StoreProductResult 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 StoreProductResult
Public NotInheritable Class StoreProductResult
繼承
Object Platform::Object IInspectable StoreProductResult
屬性

Windows 需求

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

備註

StoreCoNtext.GetStoreProductForCurrentAppAsync方法會傳回此類型的物件。

屬性

ExtendedError

如果作業發生錯誤,取得要求的錯誤碼。

Product

取得目前應用程式的相關資訊。

適用於