> ## 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()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage) を介して取得できます。

## 解説

カスタム コンテキストがまだ設定されていない場合、`customContext` が指す値は nullptr に設定されます。

## 要件

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

## 関連項目

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


## Related topics

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