







Synchronously speaks the contents of a Prompt object.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub Speak ( _ prompt As Prompt _ ) |
| Visual Basic (Usage) |
|---|
Dim instance As SpeechSynthesizer Dim prompt As Prompt instance.Speak(prompt) |
| C# |
|---|
public void Speak( Prompt prompt ) |
Parameters
- prompt
- Type: Microsoft.Speech.Synthesis..::..Prompt
The content to speak.
Remarks
To asynchronously speak the contents of a Prompt object, use SpeakAsync(Prompt).
