共用方式為


SpeechSynthesizer.SpeakProgress 事件

定義

SpeechSynthesizer 說出提示的每個字之後引發。

public:
 event EventHandler<System::Speech::Synthesis::SpeakProgressEventArgs ^> ^ SpeakProgress;
public event EventHandler<System.Speech.Synthesis.SpeakProgressEventArgs> SpeakProgress;
member this.SpeakProgress : EventHandler<System.Speech.Synthesis.SpeakProgressEventArgs> 
Public Custom Event SpeakProgress As EventHandler(Of SpeakProgressEventArgs) 

事件類型

EventHandler<SpeakProgressEventArgs>

備註

SpeechSynthesizer會在使用 SpeakSpeakAsyncSpeakSsml 或方法的提示中,為每個新單字引發這個事件 SpeakSsmlAsync 。 如需與事件相關聯之資料的範例和詳細資訊,請參閱 SpeakProgressEventArgs

適用於