语言

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.GetAssociatedStoreProductsWithPagingAsync 和 StoreContext.GetUserCollectionWithPagingAsync 方法返回此类型的对象。

拥有 StoreProductPagedQueryResult 对象后,可以使用 GetNextAsync 方法检索包含下一页结果的对象。

属性

名称 说明
ExtendedError

获取请求的错误代码(如果操作遇到错误)。

HasMoreResults

获取一个值,该值指示是否有其他结果页。 若要获取下一页的结果,请使用 GetNextAsync 方法。

Products

获取请求返回的产品集合。

方法

名称 说明
GetNextAsync()

返回结果的下一页。 若要确定是否有更多结果页,请使用 HasMoreResults 属性。

适用于