State Property

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Gets the speaking state of the SpeechSynthesizer object.

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

Syntax

Visual Basic (Declaration)
Public ReadOnly Property State As SynthesizerState
	Get
Visual Basic (Usage)
Dim instance As SpeechSynthesizer
Dim value As SynthesizerState

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

Property Value

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

Returns the speaking state of the SpeechSynthesizer object.

Remarks

To pause and resume speech synthesis, use the Pause and Resume methods.

See Also