







|
| PromptBuilder..::..AppendTextWithHint Method (String, SayAs) |
| PromptBuilder Class See Also Send Feedback |
Appends text to the PromptBuilder object and specifies the content type using a member of the SayAs enumeration.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub AppendTextWithHint ( _ textToSpeak As String, _ sayAs As SayAs _ ) |
| Visual Basic (Usage) |
|---|
Dim instance As PromptBuilder Dim textToSpeak As String Dim sayAs As SayAs instance.AppendTextWithHint(textToSpeak, _ sayAs) |
| C# |
|---|
public void AppendTextWithHint( string textToSpeak, SayAs sayAs ) |
Parameters
- textToSpeak
- Type: System..::..String
A string containing the text to be spoken.
- sayAs
- Type: Microsoft.Speech.Synthesis..::..SayAs
The content type of the text.
Remarks
The content type specified by sayAs can provide guidance to the speech synthesis engine about how to pronounce the contents of textToSpeak.
