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

Provides information about a *voice*: an installed speech synthesis engine.

## Syntax

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

### Members

*Description*\
Type: const char\*

The voice's description that's based on a combination of *DisplayName* and *Language*.

*DisplayName*\
Type: const char\*

The display name of the voice.

*Gender*\
Type: [XSpeechSynthesizerVoiceGender](/reference/system/xspeechsynthesizer/enums/xspeechsynthesizervoicegender)

The gender of the voice.

*VoiceId*\
Type: const char\*

The unique ID of the voice.

*Language*\
Type: const char\*

The voice's language, represented by a normalized [BCP-47 language tag](https://tools.ietf.org/html/bcp47).

## Remarks

The **XSpeechSynthesierVoiceInformation** structure represents information about an installed speech synthesis engine, or *voice*; the information includes the voice's gender and language. Use the value of *VoiceId* to identify an installed voice when calling the [XSpeechSynthesizerSetCustomVoice](/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetcustomvoice) function.

For an example that demonstrates how to use the **XSpeechSynthesizerVoiceInformation** structure, see [XSpeechSynthesizerEnumerateInstalledVoices](/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices).

## Requirements

**Header:** XSpeechSynthesizer.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

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


## Related topics

- [XSpeechSynthesizerVoiceGender](/reference/system/xspeechsynthesizer/enums/xspeechsynthesizervoicegender.md)
- [XSpeechSynthesizerInstalledVoicesCallback](/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerinstalledvoicescallback.md)
- [XSpeechSynthesizer](/reference/system/xspeechsynthesizer/xspeechsynthesizer_members.md)
- [XSpeechSynthesizerEnumerateInstalledVoices](/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices.md)
- [XSpeechSynthesizerSetDefaultVoice](/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetdefaultvoice.md)
