PromptBuilder.AppendTextWithHint Method (String, String)

 

Appends text to the PromptBuilder object and a String that specifies the content type of the text.

Namespace:   System.Speech.Synthesis
Assembly:  System.Speech (in System.Speech.dll)

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.

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.

.NET Framework
Available since 3.0
Return to top
Show: