GetCurrentlySpokenPrompt Method

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Gets the contents of the prompt that the SpeechSynthesizer is speaking.

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

Syntax

Visual Basic (Declaration)
Public Function GetCurrentlySpokenPrompt As Prompt
Visual Basic (Usage)
Dim instance As SpeechSynthesizer
Dim returnValue As Prompt

returnValue = instance.GetCurrentlySpokenPrompt()
C#
public Prompt GetCurrentlySpokenPrompt()

Return Value

Type: Microsoft.Speech.Synthesis..::..Prompt

Returns the prompt object that is currently being spoken.

See Also