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

Fournit des informations sur une *voix* : un moteur de synthèse vocale installé.

## Syntaxe

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

### Membres

*Description*\
Type : const char\*

La description de la voix, basée sur une combinaison de *DisplayName* et de *Language*.

*DisplayName*\
Type : const char\*

Le nom d'affichage de la voix.

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

Le genre de la voix.

*VoiceId*\
Type : const char\*

L'ID unique de la voix.

*Language*\
Type : const char\*

La langue de la voix, représentée par une [balise de langue BCP-47](https://tools.ietf.org/html/bcp47) normalisée.

## Remarques

La structure **XSpeechSynthesierVoiceInformation** représente des informations sur un moteur de synthèse vocale installé, ou *voix*; ces informations comprennent le genre et la langue de la voix. Utilisez la valeur de *VoiceId* pour identifier une voix installée lors de l'appel de la fonction [XSpeechSynthesizerSetCustomVoice](/fr-CA/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetcustomvoice).

Pour obtenir un exemple qui montre comment utiliser la structure **XSpeechSynthesizerVoiceInformation**, consultez [XSpeechSynthesizerEnumerateInstalledVoices](/fr-CA/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices).

## Configuration requise

**En-tête :** XSpeechSynthesizer.h

**Plateformes prises en charge :** Windows, consoles de la famille XBOX One et consoles XBOX Series

## Voir aussi

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


## Related topics

- [XSpeechSynthesizerVoiceInformation](/reference/system/xspeechsynthesizer/structs/xspeechsynthesizervoiceinformation.md)
- [XSpeechSynthesizerVoiceGender](/reference/system/xspeechsynthesizer/enums/xspeechsynthesizervoicegender.md)
- [XSpeechSynthesizerInstalledVoicesCallback](/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerinstalledvoicescallback.md)
- [XSpeechSynthesizer](/reference/system/xspeechsynthesizer/xspeechsynthesizer_members.md)
