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

# PFEntityGetTitleIdSize

> 获取存储实体句柄中 titleId 字符串所需的缓冲区大小。

获取存储实体句柄中 titleId 字符串所需的缓冲区大小。

## 语法

```cpp theme={null}
HRESULT PFEntityGetTitleIdSize(  
    PFEntityHandle entityHandle,  
    size_t* titleIdSize  
)  
```

### 参数

**`entityHandle`**   PFEntityHandle

从身份验证调用返回的 PFEntityHandle。

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

待定

### 返回值

类型：HRESULT

此 API 操作的结果代码。

## 要求

**头文件：** PFEntity.h

## 另请参阅

[PFEntity 成员](/zh-CN/services/playfab/api-references/c/pfentity/pfentity_members)


## Related topics

- [实体句柄](/zh-CN/services/playfab/sdks/c/entity-handles.md)
- [PFEntityGetTitleId](/zh-CN/services/playfab/api-references/c/pfentity/functions/pfentitygettitleid.md)
- [PFServiceConfigGetTitleIdSize](/zh-CN/services/playfab/api-references/c/pfserviceconfig/functions/pfserviceconfiggettitleidsize.md)
- [PFServiceConfigGetTitleId](/zh-CN/services/playfab/api-references/c/pfserviceconfig/functions/pfserviceconfiggettitleid.md)
- [PFLeaderboardsGetLeaderboardForEntitiesGetResultSize](/zh-CN/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetleaderboardforentitiesgetresultsize.md)
