AppendTextWithHint Method (String, String)

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

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.

See Also