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

# PFInventoryGetInventoryCollectionIdsAsync

> インベントリ コレクション ID を取得します。一度に最大 50 個の ID を返せます (レスポンス圧縮が有効な場合は 250 個)。継続トークンを使用して結果をページ処理できます。

インベントリ コレクション ID を取得します。一度に最大 50 個の ID を返せます (レスポンス圧縮が有効な場合は 250 個)。制限を超える結果を返す場合は、継続トークンを使用してページ処理できます。新しいコレクション ID が表示されるまでには数秒かかることがあります。

## 構文

```cpp theme={null}
HRESULT PFInventoryGetInventoryCollectionIdsAsync(  
    PFEntityHandle entityHandle,  
    const PFInventoryGetInventoryCollectionIdsRequest* request,  
    XAsyncBlock* async  
)  
```

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

**`request`**   [PFInventoryGetInventoryCollectionIdsRequest\*](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygetinventorycollectionidsrequest.md)

値が設定されたリクエスト オブジェクト。

**`async`**   XAsyncBlock\*\
*Inout*

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

この API 操作の結果コード。

## 解説

この API はすべてのプラットフォームで利用できます。指定されたエンティティのインベントリ コレクション ID の一覧を取得します。非同期タスクが完了したら、[PFInventoryGetInventoryCollectionIdsGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorygetinventorycollectionidsgetresultsize.md) と [PFInventoryGetInventoryCollectionIdsGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorygetinventorycollectionidsgetresult.md) を呼び出して結果を取得します。

## 要件

**ヘッダー:** PFInventory.h

## 関連項目

[PFInventory のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventory/pfinventory_members.md)


## Related topics

- [PFInventoryGetInventoryCollectionIdsGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorygetinventorycollectionidsgetresult.md)
- [Services C API overview - PFInventory.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [Get Inventory Collection Ids](https://docs.xbox.com/api-reference/inventory/get-inventory-collection-ids.md)
- [PFInventoryGetInventoryCollectionIdsGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorygetinventorycollectionidsgetresultsize.md)
- [PFInventoryGetInventoryCollectionIdsResponse](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygetinventorycollectionidsresponse.md)
