Selects a specific voice.
Assembly: Microsoft.Speech (in microsoft.speech.dll)
The requested voice name.
In previous versions of Windows, Control Panel identifies TTS voices by name; for example, Microsoft Sam. In the Vista operating system, Control Panel identifies TTS voices by name and culture; for example, Microsoft Anna – English (United States). In this case, Microsoft Anna is the name of the voice and English (United States) is its culture. The name parameter passed to the SelectVoice method should specify only the name of the voice and not its culture.
All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition