共用方式為


SpeechSynthesizer.VoiceChange 事件

定義

變更 SpeechSynthesizer 的語音時引發。

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) 

事件類型

EventHandler<VoiceChangeEventArgs>

備註

如需與事件相關聯之資料的範例和資訊,請參閱 VoiceChangeEventArgs

您可以使用 SpeechSynthesizer 任何一種 PromptBuilder StartVoice 方法或的 SpeechSynthesizer SelectVoiceSelectVoiceByHints 方法來變更語音。

適用於