![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Enumerates the types of text formats that may be used to construct a Prompt object.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Enumeration SynthesisTextFormat |
Visual Basic (Usage) |
---|
Dim instance As SynthesisTextFormat |
C# |
---|
public enum SynthesisTextFormat |
Members
Member name | Description | |
---|---|---|
Text | Indicates that text format is Text. | |
Ssml | Indicates that text format is SSML. |
Remarks
The Prompt(String, SynthesisTextFormat) constructor uses SynthesisTextFormat to indicate the format of the text that its textToSpeak parameter contains.