Specifies the end of use of a voice in the PromptBuilder object.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub EndVoice |
Visual Basic (Usage) |
---|
Dim instance As PromptBuilder instance.EndVoice() |
C# |
---|
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.