FragmentState Structure
Provides detailed information about a TextFragment.
Namespace: System.Speech.Synthesis.TtsEngine
Assembly: System.Speech (in System.Speech.dll)
The FragmentState type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Action | Returns the requested speech synthesizer action. |
![]() | Duration | Returns the desired time for rendering a TextFragment |
![]() | Emphasis | Returns instructions on how to emphasize a TextFragment. |
![]() | LangId | Returns the language supported by the current FragmentState. |
![]() | Phoneme | Returns phonetic information for a TextFragment |
![]() | Prosody | Returns detailed information about the pitch, speaking rate, and volume of speech output. |
![]() | SayAs | Returns information about the context for the generation of speech from text.. |
| Name | Description | |
|---|---|---|
![]() | Equals(FragmentState) | Determines if a given instance of FragmentState is equal to the current instance of FragmentState. |
![]() | Equals(Object) | Determines if a given object is an instance FragmentState equal to the current instance of FragmentState. (Overrides ValueType.Equals(Object).) |
![]() | GetHashCode | Returns the hash code for this instance. (Overrides ValueType.GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality | Determines if two instances of FragmentState describes the same TextFragment state. |
![]() ![]() | Inequality | Determines if two instances of FragmentState describes the different TextFragment state. |
FragmentState instances are obtained from the State on TextFragment objects.
The information in FragmentState is obtained by parsing the attributes decorating speech text in the Synthesize Speech Markup Language (SSML) used as an input to a synthesis engine.
A FragmentState object can exist for any synthesizer action request as specified by its Action property. However, the meaning of its members may change for different actions. For more information on synthesize actions, see TtsEngineAction for more information about specifying synthesizer actions.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
