![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
![]() ![]() |
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.