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 プロパティを 使用します。

適用対象