> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFProfilesSetProfileLanguageRequest

> PFProfilesSetProfileLanguageRequest データ モデル。エンティティ プロファイルが指定されると、プロファイルのバージョンが渡された値と等しい場合に言語を更新します。

PFProfilesSetProfileLanguageRequest データ モデル。エンティティ プロファイルが指定されると、プロファイルのバージョンが渡された値と等しい場合に、その言語を渡された値に更新します。

## 構文

```cpp theme={null}
typedef struct PFProfilesSetProfileLanguageRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFEntityKey const* entity;  
    int32_t const* expectedVersion;  
    const char* language;  
} PFProfilesSetProfileLanguageRequest;  
```

### メンバー

**`customTags`**   [PFStringDictionaryEntry](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry.md) const\*\
*nullptr の可能性あり*

(省略可能) リクエストに関連付けられた省略可能なカスタム タグ (例: ビルド番号、外部トレース識別子など)。

**`customTagsCount`**   uint32\_t

customTags の数。

**`entity`**   [PFEntityKey](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pfentitykey-c.md) const\*\
*nullptr の可能性あり*

(省略可能) このアクションを実行する対象の任意のエンティティ。既定では現在ログインしているエンティティになります。

**`expectedVersion`**   int32\_t const\*\
*nullptr の可能性あり*

(省略可能) この更新を実行するプロファイルの想定バージョン。

**`language`**   const char\*\
*null 終端*

(省略可能) 指定されたエンティティに設定する言語。null 文字列が渡された場合、プロファイルの言語を削除します。

## 要件

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

## 関連項目

[PFProfilesTypes のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfprofilestypes/pfprofilestypes_members.md)


## Related topics

- [PFProfilesSetProfileLanguageAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfprofiles/functions/pfprofilessetprofilelanguageasync.md)
- [Services C API overview - PFProfilesTypes.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfprofilestypes/pfprofilestypes_members.md)
- [Set Profile Language](https://docs.xbox.com/api-reference/account-management/set-profile-language.md)
- [PFProfilesSetProfileLanguageResponse](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilessetprofilelanguageresponse.md)
- [PFProfilesSetProfileLanguageGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfprofiles/functions/pfprofilessetprofilelanguagegetresult.md)
