StoreProductPagedQueryResult 類別

定義

提供分頁要求的回應資料,以擷取可從目前應用程式內購買之產品的詳細資料。

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

Windows 需求

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

備註

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

擁有 StoreProductPagedQueryResult 物件之後,您可以使用 GetNextAsync 方法擷取包含下一頁結果的物件。

屬性

ExtendedError

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

HasMoreResults

取得值,這個值表示是否有額外的結果頁面。 若要取得結果的下一頁,請使用 GetNextAsync 方法。

Products

取得要求傳回的產品集合。

方法

GetNextAsync()

傳回結果的下一頁。 若要判斷是否有更多頁面的結果,請使用 HasMoreResults 屬性。

適用於