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

Fornece informações sobre uma *voz*: um mecanismo de síntese de fala instalado.

## Sintaxe

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

### Membros

*Description*\
Tipo: const char\*

A descrição da voz, baseada em uma combinação de *DisplayName* e *Language*.

*DisplayName*\
Tipo: const char\*

O nome de exibição da voz.

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

O gênero da voz.

*VoiceId*\
Tipo: const char\*

A ID exclusiva da voz.

*Language*\
Tipo: const char\*

O idioma da voz, representado por uma [marca de idioma BCP-47](https://tools.ietf.org/html/bcp47) normalizada.

## Comentários

A estrutura **XSpeechSynthesierVoiceInformation** representa informações sobre um mecanismo de síntese de fala instalado, ou *voz*; as informações incluem o gênero e o idioma da voz. Use o valor de *VoiceId* para identificar uma voz instalada ao chamar a função [XSpeechSynthesizerSetCustomVoice](/pt-BR/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetcustomvoice).

Para obter um exemplo que demonstra como usar a estrutura **XSpeechSynthesizerVoiceInformation**, consulte [XSpeechSynthesizerEnumerateInstalledVoices](/pt-BR/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices).

## Requisitos

**Cabeçalho:** XSpeechSynthesizer.h

**Plataformas com suporte:** Windows, consoles da família XBOX One e consoles XBOX Series

## Confira também

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


## Related topics

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