> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XStoreProductsQueryHasMorePages

> XStoreProductsQueryHasMorePages

# XStoreProductsQueryHasMorePages

指定されたクエリにさらに結果ページがあるかどうかを確認します。
これは `XStoreQuery` API、特に [XStoreQueryAssociatedProductsAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsasync) のように複数の結果を返すことが想定される API では呼び出しが不可欠です。

## 構文

```cpp theme={null}
bool XStoreProductsQueryHasMorePages(  
         const XStoreProductQueryHandle productQueryHandle  
)  
```

### パラメーター

*productQueryHandle*   \_In\_\
Type: XStoreProductQueryHandle

さらにページがあるかを確認するクエリへのハンドル。XStoreProductsQueryHasMorePages の最初の呼び出しでは、これは [XStoreQueryProductForCurrentGameResult](/reference/system/xstore/functions/xstorequeryproductforcurrentgameresult)、[XStoreQueryProductForPackageResult](/reference/system/xstore/functions/xstorequeryproductforpackageresult)、[XStoreQueryEntitledProductsResult](/reference/system/xstore/functions/xstorequeryentitledproductsresult)、または [XStoreQueryProductsResult](/reference/system/xstore/functions/xstorequeryproductsresult) から返される XStoreProductQueryHandle になります。
後続の呼び出しでは、[XStoreProductsQueryNextPageResult](/reference/system/xstore/functions/xstoreproductsquerynextpageresult) から返されるクエリ ハンドルを使用します。

### 戻り値

Type: bool

表示する結果ページがさらにある場合は true を返します。

## 解説

この関数は、製品クエリに追加の製品情報ページがあるかどうかを確認するために使用されます。
[XStoreEnumerateProductsQuery](/reference/system/xstore/functions/xstoreenumerateproductsquery) で製品クエリを列挙した後に呼び出されます。
この関数が true を返した場合、読み取るべき製品クエリ情報がさらにあります。
[XStoreProductsQueryNextPageAsync](/reference/system/xstore/functions/xstoreproductsquerynextpageasync) を呼び出して追加の製品クエリ情報を読み取ります。
使用例については、[XStoreQueryAssociatedProductsAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsasync) を参照してください。

## 要件

**ヘッダー:** XStore.h (XGameRuntime.h に含まれる)

**ライブラリ:** xgameruntime.lib

**サポートされているプラットフォーム:** Windows、XBOX One 本体および XBOX Series 本体

## 関連項目

[XStore](/reference/system/xstore/xstore_members)\
[XStoreEnumerateProductsQuery](/reference/system/xstore/functions/xstoreenumerateproductsquery)\
[XStoreProductsQueryNextPageAsync](/reference/system/xstore/functions/xstoreproductsquerynextpageasync)\
[XStoreQueryAssociatedProductsAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsasync)


## Related topics

- [XStoreProductsQueryNextPageResult](/ja-jp/reference/system/xstore/functions/xstoreproductsquerynextpageresult.md)
- [XStoreProductsQueryNextPageAsync](/ja-jp/reference/system/xstore/functions/xstoreproductsquerynextpageasync.md)
- [XStoreEnumerateProductsQuery](/ja-jp/reference/system/xstore/functions/xstoreenumerateproductsquery.md)
- [XStore](/ja-jp/reference/system/xstore/xstore_members.md)
- [GDK 向け Unity C# API ラッパー](/ja-jp/build/gdk-and-engines/unity/unity-api-wrappers.md)
