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

# XSpeechSynthesizerVoiceInformation

> XSpeechSynthesizerVoiceInformation

# XSpeechSynthesizerVoiceInformation

*音声* (インストールされている音声合成エンジン) に関する情報を提供します。

## Syntax

```cpp theme={null}
typedef struct XSpeechSynthesizerVoiceInformation {  
    const char* Description;  
    const char* DisplayName;  
    XSpeechSynthesizerVoiceGender Gender;  
    const char* VoiceId;  
    const char* Language;  
} XSpeechSynthesizerVoiceInformation  
```

### Members

*Description*\
型: const char\*

*DisplayName* と *Language* の組み合わせに基づく音声の説明。

*DisplayName*\
型: const char\*

音声の表示名。

*Gender*\
型: [XSpeechSynthesizerVoiceGender](https://docs.xbox.com/ja-jp/reference/system/xspeechsynthesizer/enums/xspeechsynthesizervoicegender.md)

音声の性別。

*VoiceId*\
型: const char\*

音声の一意の ID。

*Language*\
型: const char\*

正規化された [BCP-47 言語タグ](https://tools.ietf.org/html/bcp47) で表される音声の言語。

## Remarks

**XSpeechSynthesierVoiceInformation** 構造体は、インストールされている音声合成エンジン (*音声*) に関する情報を表します。情報には、音声の性別や言語などが含まれます。[XSpeechSynthesizerSetCustomVoice](https://docs.xbox.com/ja-jp/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetcustomvoice.md) 関数を呼び出す際に、インストールされている音声を識別するには *VoiceId* の値を使用します。

**XSpeechSynthesizerVoiceInformation** 構造体の使用方法を示す例については、[XSpeechSynthesizerEnumerateInstalledVoices](https://docs.xbox.com/ja-jp/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices.md) を参照してください。

## Requirements

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

**サポートされているプラットフォーム:** Windows、XBOX One ファミリー本体および XBOX Series 本体

## See also

[XAccessibility](https://docs.xbox.com/ja-jp/reference/system/xaccessibility/xaccessibility_members.md)\
[XSpeechSynthesizerCreateStreamFromText](https://docs.xbox.com/ja-jp/reference/system/xspeechsynthesizer/functions/xspeechsynthesizercreatestreamfromtext.md)\
[XSpeechSynthesizer](https://docs.xbox.com/ja-jp/reference/system/xspeechsynthesizer/xspeechsynthesizer_members.md)


## Related topics

- [XSpeechSynthesizerVoiceGender](https://docs.xbox.com/ja-jp/reference/system/xspeechsynthesizer/enums/xspeechsynthesizervoicegender.md)
- [XSpeechSynthesizerInstalledVoicesCallback](https://docs.xbox.com/ja-jp/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerinstalledvoicescallback.md)
- [XSpeechSynthesizerSetCustomVoice](https://docs.xbox.com/ja-jp/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetcustomvoice.md)
- [XSpeechSynthesizer (API の内容)](https://docs.xbox.com/ja-jp/reference/system/xspeechsynthesizer/xspeechsynthesizer_members.md)
- [XSpeechSynthesizerEnumerateInstalledVoices](https://docs.xbox.com/ja-jp/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices.md)
