FragmentState.SayAs Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns information about the context for the generation of speech from text.
public:
property System::Speech::Synthesis::TtsEngine::SayAs ^ SayAs { System::Speech::Synthesis::TtsEngine::SayAs ^ get(); };
public System.Speech.Synthesis.TtsEngine.SayAs SayAs { get; }
member this.SayAs : System.Speech.Synthesis.TtsEngine.SayAs
Public ReadOnly Property SayAs As SayAs
Property Value
Returns a value SayAs instance if the SSML used by a speech synthesis engine contains detailed information about the context to be used to generate speech, otherwise null
.
Remarks
The information returned by SayAs corresponds to the <say-as>
tag and its attributes in the SSML specification, and can specify:
The content type (such as currency, date, or address) or language construct represented by TextToSpeak property of a TextFragment.
Optional formatting information to handle the content type represented by TextToSpeak property of a TextFragment, for example, a date syntax.
The detail to be used in generating speech from the TextToSpeak property of a TextFragment, for example, whether to explicitly render punctuation.
Applies to
.NET