Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

PromptBuilder.EndVoice Method

Specifies the end of use of a voice in the PromptBuilder object.

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

Syntax

'Declaration
Public Sub EndVoice
'Usage
Dim instance As PromptBuilder

instance.EndVoice()
public void EndVoice()

Remarks

The EndVoice() method stops the use of the current voice for speech output. The voice reverts to the setting that was in effect before the StartVoice() method initiated a new voice.

See Also

Reference

PromptBuilder Class

PromptBuilder Members

Microsoft.Speech.Synthesis Namespace