> ## 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.

# 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\*](/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygetinventorycollectionidsrequest)

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

**`async`**   XAsyncBlock\*<br />*Inout*

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

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

## 解説

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

## 要件

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

## 関連項目

[PFInventory のメンバー](/services/playfab/api-references/c/pfinventory/pfinventory_members)


## Related topics

- [PFInventoryGetInventoryCollectionIdsGetResult](/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorygetinventorycollectionidsgetresult.md)
- [Services C API overview - PFInventory.h](/ja-jp/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [PFInventoryGetInventoryCollectionIdsGetResultSize](/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorygetinventorycollectionidsgetresultsize.md)
- [PFInventoryGetInventoryCollectionIdsResponse](/ja-jp/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygetinventorycollectionidsresponse.md)
- [PFInventoryGetInventoryCollectionIdsRequest](/ja-jp/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygetinventorycollectionidsrequest.md)
