![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)
![]() ![]() |
PromptBuilder..::..AppendTextWithHint Method (String, String) |
PromptBuilder Class See Also Send Feedback |
Appends text to the PromptBuilder object and a String that specifies the content type of the text.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub AppendTextWithHint ( _ textToSpeak As String, _ sayAs As String _ ) |
Visual Basic (Usage) |
---|
Dim instance As PromptBuilder Dim textToSpeak As String Dim sayAs As String instance.AppendTextWithHint(textToSpeak, _ sayAs) |
C# |
---|
public void AppendTextWithHint( string textToSpeak, string sayAs ) |
Parameters
- textToSpeak
- Type: System..::..String
A string containing the text to be spoken.
- sayAs
- Type: System..::..String
The content type of the text.
Remarks
You can use this method to specify a content type that is not included in the SayAs enumeration. However, the TTS engine must support the parameter that you specify.