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

# PFInventoryDeleteInventoryCollectionAsync

> インベントリ コレクションを削除します。インベントリ コレクションの詳細については /playfab/economy-monetization/economy-v2/inventory/collections を参照してください。

インベントリ コレクションを削除します。インベントリ コレクションの詳細については、[/services/playfab/economy-monetization/economy-v2/inventory/collections](/services/playfab/economy-monetization/economy-v2/inventory/collections) を参照してください。

## 構文

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

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

**`request`**   [PFInventoryDeleteInventoryCollectionRequest\*](/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorydeleteinventorycollectionrequest)

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

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

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

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

## 解説

この API はすべてのプラットフォームで利用できます。指定された ID のインベントリ コレクションをエンティティに対して削除します。操作の状態を取得するには XAsyncGetStatus を呼び出します。サービス呼び出しが失敗した場合、非同期結果はグローバル PlayFab サービス エラーのいずれかになります。エラー処理の詳細については、ドキュメント ページ「Handling PlayFab Errors」を参照してください。

## 要件

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

## 関連項目

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


## Related topics

- [Services C API overview - PFInventory.h](/ja-jp/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [PFInventoryDeleteInventoryCollectionRequest](/ja-jp/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorydeleteinventorycollectionrequest.md)
- [PFInventoryGetInventoryCollectionIdsAsync](/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorygetinventorycollectionidsasync.md)
- [PFInventoryDeleteInventoryItemsAsync](/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorydeleteinventoryitemsasync.md)
- [インベントリ コレクション](/ja-jp/services/playfab/economy-monetization/economy-v2/inventory/collections.md)
