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

# PartyTextToSpeechProfile::GetCustomContext

> 擷取應用程式先前與此設定檔相關聯的私人自訂指標大小內容值。

擷取應用程式先前與此設定檔相關聯的私人自訂指標大小內容值。

## 語法

```cpp theme={null}
PartyError GetCustomContext(  
    void** customContext  
)  
```

### 參數

**`customContext`**   void\*\*\
*輸出，可能傳回 nullptr*

輸出的自訂內容。

### 傳回值

PartyError

`c_partyErrorSuccess` (如果擷取自訂內容成功)，否則為錯誤碼。可透過 [PartyManager::GetErrorMessage()](/zh-TW/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage) 擷取錯誤碼的人類可讀形式。

## 備註

如果尚未設定自訂內容，`customContext` 所指向的值會設為 nullptr。

## 需求

**標頭：** Party.h

## 另請參閱

[PartyTextToSpeechProfile](/zh-TW/services/playfab/multiplayer/networking/reference/classes/PartyTextToSpeechProfile/partytexttospeechprofile)\
[PartyTextToSpeechProfile::SetCustomContext](/zh-TW/services/playfab/multiplayer/networking/reference/classes/PartyTextToSpeechProfile/methods/partytexttospeechprofile_setcustomcontext)


## Related topics

- [PartyTextToSpeechProfile::SetCustomContext](/zh-TW/services/playfab/multiplayer/networking/reference/classes/PartyTextToSpeechProfile/methods/partytexttospeechprofile_setcustomcontext.md)
- [PartyTextToSpeechProfile](/zh-TW/services/playfab/multiplayer/networking/reference/classes/PartyTextToSpeechProfile/partytexttospeechprofile.md)
- [PartyTextToSpeechProfile::GetIdentifier](/zh-TW/services/playfab/multiplayer/networking/reference/classes/PartyTextToSpeechProfile/methods/partytexttospeechprofile_getidentifier.md)
- [PartyTextToSpeechProfile::GetGender](/zh-TW/services/playfab/multiplayer/networking/reference/classes/PartyTextToSpeechProfile/methods/partytexttospeechprofile_getgender.md)
- [PartyTextToSpeechProfile::GetName](/zh-TW/services/playfab/multiplayer/networking/reference/classes/PartyTextToSpeechProfile/methods/partytexttospeechprofile_getname.md)
