Creates a new instance of the Prompt class from a PromptBuilder object.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ promptBuilder As PromptBuilder _ ) |
Visual Basic (Usage) |
---|
Dim promptBuilder As PromptBuilder Dim instance As New Prompt(promptBuilder) |
C# |
---|
public Prompt( PromptBuilder promptBuilder ) |
Parameters
- promptBuilder
- Type: Microsoft.Speech.Synthesis..::..PromptBuilder
The content to be spoken.