SpeechSynthesizer::VoiceChange Event

 

Raised when the voice of the SpeechSynthesizer changes.

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

public:
event EventHandler<VoiceChangeEventArgs^>^ VoiceChange {
	void add(EventHandler<VoiceChangeEventArgs^>^ value);
	void remove(EventHandler<VoiceChangeEventArgs^>^ value);
}

For an example and information about data associated with the event, see VoiceChangeEventArgs.

You can change the voice that the SpeechSynthesizer uses with any of the PromptBuilder's StartVoice methods or the SpeechSynthesizer's SelectVoice or SelectVoiceByHints methods.

.NET Framework
Available since 3.0
Return to top
Show: