GetInstalledVoices Method

SpeechSynthesizer.GetInstalledVoices Method

 

Returns the collection of speech synthesis (text-to-speech) voices that are currently installed on the system.

Namespace:   System.Speech.Synthesis
Assembly:  System.Speech (in System.Speech.dll)

NameDescription
System_CAPS_pubmethodGetInstalledVoices()

Returns all of the installed speech synthesis (text-to-speech) voices.

System_CAPS_pubmethodGetInstalledVoices(CultureInfo)

Returns all of the installed speech synthesis (text-to-speech) voices that support a specific locale.

When an application calls GetInstalledVoices, the method verifies that each of the voices (engines for text-to-speech) it finds in the registry meets certain minimum criteria. For any voice that fails verification, GetInstalledVoices sets its Enabled property to False. An application cannot select a voice whose Enabled property is False. Typically, applications will not set a voice’s Enabled property.

Return to top
Show:
© 2016 Microsoft