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

# PFCatalogGetDraftItemAsync

> 作業カタログからアイテムを取得します。このアイテムはアイテムの現在の作業状態を表します。GetDraftItem はカタログのキャッシュを利用しません。

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

## 構文

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

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

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

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

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

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

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

## 解説

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

## 要件

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

## 関連項目

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


## Related topics

- [PFCatalogGetDraftItemGetResult](/ja-jp/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetdraftitemgetresult.md)
- [Services C API overview - PFCatalog.h](/ja-jp/services/playfab/api-references/c/pfcatalog/pfcatalog_members.md)
- [PFCatalogGetDraftItemsAsync](/ja-jp/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetdraftitemsasync.md)
- [PFCatalogGetEntityDraftItemsAsync](/ja-jp/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetentitydraftitemsasync.md)
- [PFCatalogUpdateDraftItemAsync](/ja-jp/services/playfab/api-references/c/pfcatalog/functions/pfcatalogupdatedraftitemasync.md)
