SpeechSynthesizer.VoiceChange Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raised when the voice of the SpeechSynthesizer changes.
public:
event EventHandler<System::Speech::Synthesis::VoiceChangeEventArgs ^> ^ VoiceChange;
public event EventHandler<System.Speech.Synthesis.VoiceChangeEventArgs> VoiceChange;
member this.VoiceChange : EventHandler<System.Speech.Synthesis.VoiceChangeEventArgs>
Public Custom Event VoiceChange As EventHandler(Of VoiceChangeEventArgs)
Event Type
Remarks
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.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.