SpeechSynthesizer..::..GetCurrentlySpokenPrompt Method |
SpeechSynthesizer Class See Also Send Feedback |
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..::..PromptReturns the prompt object that is currently being spoken.