Speak Method (PromptBuilder)

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Synchronously speaks the contents of a PromptBuilder object.

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

Syntax

Visual Basic (Declaration)
Public Sub Speak ( _
	promptBuilder As PromptBuilder _
)
Visual Basic (Usage)
Dim instance As SpeechSynthesizer
Dim promptBuilder As PromptBuilder

instance.Speak(promptBuilder)
C#
public void Speak(
	PromptBuilder promptBuilder
)

Parameters

promptBuilder
Type: Microsoft.Speech.Synthesis..::..PromptBuilder

The content to speak.

Remarks

To asynchronously speak the contents of a PromptBuilder object, use SpeakAsync(PromptBuilder).

See Also