SpeakProgressEventArgs.CharacterCount Propriedade

Definição

Obtém o número de caracteres na palavra que foi falada imediatamente antes do acionamento do evento.Gets the number of characters in the word that was spoken just before the event was raised.

public:
 property int CharacterCount { int get(); };
public int CharacterCount { get; }
member this.CharacterCount : int
Public ReadOnly Property CharacterCount As Integer

Valor da propriedade

Int32

Retorna o número de caracteres na palavra que foi falado logo antes de o evento ser gerado.Returns the number of characters in the word that was spoken just before the event was raised.

Comentários

O SpeechSynthesizer normaliza os números para as palavras que correspondem a como o número será falado.The SpeechSynthesizer normalizes numbers to the words that correspond to how the number will be spoken. Por exemplo, o sintetizador fala o número "4003" como "4003".For example, the synthesizer speaks the number "4003" as "four thousand three". Ele gera um SpeakProgress evento para cada uma das palavras faladas.It raises a SpeakProgress event for each of the spoken words. No entanto, a CharacterCount propriedade para cada uma das três palavras é a mesma.However, the CharacterCount property for each of the three words is the same. É a contagem dos caracteres no número "4003" no texto do prompt, neste caso, quatro.It is the count of the characters in the number "4003" in the text of the prompt, in this case, four.

Aplica-se a