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

Proporciona información sobre una *voz*: un motor de síntesis de voz instalado.

## Sintaxis

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

### Miembros

*Description*\
Tipo: const char\*

La descripción de la voz, que se basa en una combinación de *DisplayName* y *Language*.

*DisplayName*\
Tipo: const char\*

El nombre para mostrar de la voz.

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

El género de la voz.

*VoiceId*\
Tipo: const char\*

El identificador único de la voz.

*Language*\
Tipo: const char\*

El idioma de la voz, representado por una [etiqueta de idioma BCP-47](https://tools.ietf.org/html/bcp47) normalizada.

## Comentarios

La estructura **XSpeechSynthesierVoiceInformation** representa información sobre un motor de síntesis de voz instalado, o *voz*; la información incluye el género y el idioma de la voz. Use el valor de *VoiceId* para identificar una voz instalada al llamar a la función [XSpeechSynthesizerSetCustomVoice](/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetcustomvoice).

Para ver un ejemplo que muestra cómo usar la estructura **XSpeechSynthesizerVoiceInformation**, consulte [XSpeechSynthesizerEnumerateInstalledVoices](/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices).

## Requisitos

**Encabezado:** XSpeechSynthesizer.h

**Plataformas compatibles:** Windows, consolas de la familia XBOX One y consolas XBOX Series

## Consulte también

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


## Related topics

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