AppendText Method (String, PromptRate)

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Appends text to the PromptBuilder object and specifies the speaking rate for the text.

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

Syntax

Visual Basic (Declaration)
Public Sub AppendText ( _
	textToSpeak As String, _
	rate As PromptRate _
)
Visual Basic (Usage)
Dim instance As PromptBuilder
Dim textToSpeak As String
Dim rate As PromptRate

instance.AppendText(textToSpeak, rate)
C#
public void AppendText(
	string textToSpeak,
	PromptRate rate
)

Parameters

textToSpeak
Type: System..::..String

A string containing the text to be spoken.

rate
Type: Microsoft.Speech.Synthesis..::..PromptRate

The value for the speaking rate to apply to the text.

See Also