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

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](https://docs.xbox.com/reference/system/xspeechsynthesizer/enums/xspeechsynthesizervoicegender.md)

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](https://docs.xbox.com/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetcustomvoice.md) function.

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

## Requirements

**Header:** XSpeechSynthesizer.h

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

## See also

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


## Related topics

- [XSpeechSynthesizerVoiceGender](https://docs.xbox.com/reference/system/xspeechsynthesizer/enums/xspeechsynthesizervoicegender.md)
- [XSpeechSynthesizerInstalledVoicesCallback](https://docs.xbox.com/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerinstalledvoicescallback.md)
- [XSpeechSynthesizerEnumerateInstalledVoices](https://docs.xbox.com/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices.md)
- [XSpeechSynthesizerSetDefaultVoice](https://docs.xbox.com/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetdefaultvoice.md)
- [XSpeechSynthesizerSetCustomVoice](https://docs.xbox.com/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetcustomvoice.md)
