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

# PFCatalogGetItemAsync

> パブリック カタログからアイテムを取得します。GetItem はカタログのキャッシュを利用せず、最新のアイテム更新を取得しようとする場合に使用する必要があります。

パブリック カタログからアイテムを取得します。GetItem はカタログのキャッシュを利用せず、最新のアイテム更新を取得しようとする場合に使用する必要があります。ただし、アイテム参照データはキャッシュされているため、変更が反映されるまでに数分かかることがあります。

## 構文

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

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

**`request`**   [PFCatalogGetItemRequest\*](/services/playfab/api-references/c/pfcatalogtypes/structs/pfcataloggetitemrequest)

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

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

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

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

## 解説

この API はすべてのプラットフォームで利用可能です。非同期タスクが完了したら、[PFCatalogGetItemGetResultSize](/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetitemgetresultsize) と [PFCatalogGetItemGetResult](/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetitemgetresult) を呼び出して結果を取得します。

## 要件

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

## 関連項目

[PFCatalog のメンバー](/services/playfab/api-references/c/pfcatalog/pfcatalog_members)


## Related topics

- [PFCatalogGetItemGetResult](/ja-jp/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetitemgetresult.md)
- [Services C API overview - PFCatalog.h](/ja-jp/services/playfab/api-references/c/pfcatalog/pfcatalog_members.md)
- [PFCatalogGetItemsAsync](/ja-jp/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetitemsasync.md)
- [PFCatalogGetDraftItemAsync](/ja-jp/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetdraftitemasync.md)
- [PFCatalogGetDraftItemsAsync](/ja-jp/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetdraftitemsasync.md)
