Partager via


Note

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

SpeechSynthesizer.GetCurrentlySpokenPrompt Method

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

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

Syntax

'Declaration
Public Function GetCurrentlySpokenPrompt As Prompt
'Usage
Dim instance As SpeechSynthesizer
Dim returnValue As Prompt

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

Return Value

Type: Microsoft.Speech.Synthesis.Prompt
Returns the prompt object that is currently being spoken.

See Also

Reference

SpeechSynthesizer Class

SpeechSynthesizer Members

Microsoft.Speech.Synthesis Namespace