Partager via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

StateChangedEventArgs.State Property

Gets the state of the SpeechSynthesizer after the StateChanged event.

Namespace:  Microsoft.Speech.Synthesis
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
Public ReadOnly Property State As SynthesizerState
    Get
'Usage
Dim instance As StateChangedEventArgs
Dim value As SynthesizerState

value = instance.State
public SynthesizerState State { get; }

Property Value

Type: Microsoft.Speech.Synthesis.SynthesizerState
The state of the synthesizer after the state changed.

Remarks

The State property represents the synthesizer state with a member of the SynthesizerState enumeration.

See Also

Reference

StateChangedEventArgs Class

StateChangedEventArgs Members

Microsoft.Speech.Synthesis Namespace