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

# PFEntityCloseHandle

> 關閉 PFEntityHandle。

關閉 PFEntityHandle。

## 語法

```cpp theme={null}
void PFEntityCloseHandle(  
    PFEntityHandle entityHandle  
)  
```

### 參數

**`entityHandle`**   PFEntityHandle

要關閉的實體控制代碼。

### 傳回值

類型：void

此 API 作業的結果代碼。

## 需求

**標頭：** PFEntity.h

## 另請參閱

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


## Related topics

- [PFEntityDuplicateHandle](/zh-TW/services/playfab/api-references/c/pfentity/functions/pfentityduplicatehandle.md)
- [PFAuthenticationGetEntityGetResult](/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentitygetresult.md)
- [PFAuthenticationGetEntityWithSecretKeyGetResult](/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentitywithsecretkeygetresult.md)
- [PFAuthenticationAuthenticateGameServerWithCustomIdGetResult](/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationauthenticategameserverwithcustomidgetresult.md)
- [PFAuthenticationLoginWithCustomIDGetResult](/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithcustomidgetresult.md)
