> ## 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::GetLanguageCode

> このプロファイルに関連付けられている言語コードを取得します。

このプロファイルに関連付けられている言語コードを取得します。

## 構文

```cpp theme={null}
PartyError GetLanguageCode(  
    PartyString* languageCode  
)  
```

### パラメーター

**`languageCode`**   [PartyString\*](/services/playfab/multiplayer/networking/reference/typedefs)\
*ライブラリが割り当てた出力*

出力のプロファイル言語。文字列のメモリはプロファイルの有効期間中有効です。

### 戻り値

PartyError

呼び出しが成功した場合は `c_partyErrorSuccess`、それ以外の場合はエラー コード。エラー コードの人間が判読可能な形式は [PartyManager::GetErrorMessage()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage) を介して取得できます。

## 要件

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

## 関連項目

[PartyTextToSpeechProfile](/services/playfab/multiplayer/networking/reference/classes/PartyTextToSpeechProfile/partytexttospeechprofile)


## Related topics

- [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::GetCustomContext](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyTextToSpeechProfile/methods/partytexttospeechprofile_getcustomcontext.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)
