SpeakProgressEventArgs.AudioPosition 屬性

定義

取得事件的音訊位置。Gets the audio position of the event.

public:
 property TimeSpan AudioPosition { TimeSpan get(); };
public TimeSpan AudioPosition { get; }
member this.AudioPosition : TimeSpan
Public ReadOnly Property AudioPosition As TimeSpan

屬性值

傳回在音訊輸出資料流中的事件位置。Returns the position of the event in the audio output stream.

備註

SpeechSynthesizer標準化的數位會對應到數位的讀出方式。The SpeechSynthesizer normalizes numbers to the words that correspond to how the number will be spoken. 例如, 合成器會將數位 "4003" 說為 "4003"。For example, the synthesizer speaks the number "4003" as "four thousand three". 它會針對SpeakProgress每個說出的單字引發事件, 並傳回AudioPosition每個單字的。It raises a SpeakProgress event for each of the spoken words, and returns the AudioPosition for each word.

適用於