PreviousState Property

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Gets the state of the SpeechSynthesizer before the StateChanged event.

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

Syntax

Visual Basic (Declaration)
Public ReadOnly Property PreviousState As SynthesizerState
	Get
Visual Basic (Usage)
Dim instance As StateChangedEventArgs
Dim value As SynthesizerState

value = instance.PreviousState
C#
public SynthesizerState PreviousState { get; }

Property Value

Type: Microsoft.Speech.Synthesis..::..SynthesizerState

The state of the synthesizer before the state changed.

Remarks

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

See Also