This documentation is archived and is not being maintained.

SpeechSynthesizer.GetInstalledVoices Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method GetInstalledVoices() Returns all of the installed speech synthesis (text-to-speech) voices.
Public method GetInstalledVoices(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.