SpeechSynthesizer.SpeakProgress 事件

定義

SpeechSynthesizer 說出提示的每個字之後引發。Raised after the SpeechSynthesizer speaks each individual word of a prompt.

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) 

備註

Speak SpeakAsync SpeakSsml會針對它在使用任何、、或SpeakSsmlAsync方法的提示中所說的每個新單字引發這個事件。SpeechSynthesizerThe SpeechSynthesizer raises this event for each new word that it speaks in a prompt using any of the Speak, SpeakAsync, SpeakSsml, or SpeakSsmlAsync methods. 如需與事件相關聯之資料的範例和詳細資訊, SpeakProgressEventArgs請參閱。For an example and more information about data associated with the event, see SpeakProgressEventArgs.

適用於