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

# 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](/reference/system/xspeechsynthesizer/enums/xspeechsynthesizervoicegender)

音声の性別。

*VoiceId*\
型: const char\*

音声の一意の ID。

*Language*\
型: const char\*

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

## Remarks

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

**XSpeechSynthesizerVoiceInformation** 構造体の使用方法を示す例については、[XSpeechSynthesizerEnumerateInstalledVoices](/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices) を参照してください。

## Requirements

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

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

## See also

[XAccessibility](/reference/system/xaccessibility/xaccessibility_members)\
[XSpeechSynthesizerCreateStreamFromText](/reference/system/xspeechsynthesizer/functions/xspeechsynthesizercreatestreamfromtext)\
[XSpeechSynthesizer](/reference/system/xspeechsynthesizer/xspeechsynthesizer_members)


## Related topics

- [XSpeechSynthesizerVoiceGender](/ja-jp/reference/system/xspeechsynthesizer/enums/xspeechsynthesizervoicegender.md)
- [XSpeechSynthesizerInstalledVoicesCallback](/ja-jp/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerinstalledvoicescallback.md)
- [XSpeechSynthesizer](/ja-jp/reference/system/xspeechsynthesizer/xspeechsynthesizer_members.md)
- [XSpeechSynthesizerSetCustomVoice](/ja-jp/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetcustomvoice.md)
- [XSpeechSynthesizerEnumerateInstalledVoices](/ja-jp/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices.md)
