StoreProductPagedQueryResult Class

Definition

Provides response data for a paged request to retrieve details about products that can be purchased from within the current app.

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
Inheritance
Object Platform::Object IInspectable StoreProductPagedQueryResult
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Services.Store.StoreContract (introduced in v1.0)

Remarks

The StoreContext.GetAssociatedStoreProductsWithPagingAsync and StoreContext.GetUserCollectionWithPagingAsync methods return an object of this type.

After you have a StoreProductPagedQueryResult object, you can retrieve the object that contains the next page of results by using the GetNextAsync method.

Properties

ExtendedError

Gets the error code for the request, if the operation encountered an error.

HasMoreResults

Gets a value that indicates whether there are additional pages of results. To get the next page of results, use the GetNextAsync method.

Products

Gets the collection of products returned by the request.

Methods

GetNextAsync()

Returns the next page of results. To determine if there are more pages of results, use the HasMoreResults property.

Applies to