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

适用于