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

# PFEntityGetEntityKeySize

> エンティティの PFEntityKey を格納するために必要なサイズ (バイト単位) を取得します。

エンティティの PFEntityKey を格納するために必要なサイズ (バイト単位) を取得します。

## 構文

```cpp theme={null}
HRESULT PFEntityGetEntityKeySize(  
    PFEntityHandle entityHandle,  
    size_t* bufferSize  
)  
```

### パラメーター

**`entityHandle`**   PFEntityHandle

認証呼び出しから返された PFEntityHandle。

**`bufferSize`**   size\_t\*<br />*output*

EntityKey に必要なバッファー サイズ (バイト単位)。

### 戻り値

型: HRESULT

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

## 要件

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

## 関連項目

[PFEntity メンバー](/services/playfab/api-references/c/pfentity/pfentity_members)


## Related topics

- [PFEntityGetEntityKey](/ja-jp/services/playfab/api-references/c/pfentity/functions/pfentitygetentitykey.md)
- [Services C API overview - PFEntity.h](/ja-jp/services/playfab/api-references/c/pfentity/pfentity_members.md)
- [エンティティハンドル](/ja-jp/services/playfab/sdks/c/entity-handles.md)
- [PFEntityGetSecretKeySize](/ja-jp/services/playfab/api-references/c/pfentity/functions/pfentitygetsecretkeysize.md)
- [PFEntityGetSecretKey](/ja-jp/services/playfab/api-references/c/pfentity/functions/pfentitygetsecretkey.md)
