PromptBuilder.StartVoice Method (VoiceInfo)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Instructs the synthesizer to change the voice in the PromptBuilder object and specifies criteria for the new voice.

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

public void StartVoice(
	VoiceInfo voice
)

Parameters

voice
Type: System.Speech.Synthesis.VoiceInfo

The criteria for the voice to use.

Use the GetInstalledVoices methods and VoiceInfo class to obtain the names and attributes of installed text-to-speech (TTS) voices that you can select.

To stop using the voice specified by StartVoice call EndVoice.

.NET Framework
Available since 3.0
Return to top
Show: