SpeechSynthesizer.StateChanged イベント
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
SpeechSynthesizerの状態が変化したときに発生します。
public:
event EventHandler<System::Speech::Synthesis::StateChangedEventArgs ^> ^ StateChanged;
public event EventHandler<System.Speech.Synthesis.StateChangedEventArgs>? StateChanged;
public event EventHandler<System.Speech.Synthesis.StateChangedEventArgs> StateChanged;
member this.StateChanged : EventHandler<System.Speech.Synthesis.StateChangedEventArgs>
Public Custom Event StateChanged As EventHandler(Of StateChangedEventArgs)
イベントの種類
注釈
SpeechSynthesizerは、読み上げStateが変更されたときに、このイベントを発生させます。 イベントに関連付けられているデータの例と詳細については、 StateChangedEventArgsを参照してください。
音声合成を一時停止して再開するには、 Pause メソッドと Resume メソッドを使用します。