FragmentState Structure

FragmentState Structure

 

Provides detailed information about a TextFragment.

Namespace:   System.Speech.Synthesis.TtsEngine
Assembly:  System.Speech (in System.Speech.dll)

public struct FragmentState : IEquatable<FragmentState>

NameDescription
System_CAPS_pubpropertyAction

Returns the requested speech synthesizer action.

System_CAPS_pubpropertyDuration

Returns the desired time for rendering a TextFragment

System_CAPS_pubpropertyEmphasis

Returns instructions on how to emphasize a TextFragment.

System_CAPS_pubpropertyLangId

Returns the language supported by the current FragmentState.

System_CAPS_pubpropertyPhoneme

Returns phonetic information for a TextFragment

System_CAPS_pubpropertyProsody

Returns detailed information about the pitch, speaking rate, and volume of speech output.

System_CAPS_pubpropertySayAs

Returns information about the context for the generation of speech from text..

NameDescription
System_CAPS_pubmethodEquals(FragmentState)

Determines if a given instance of FragmentState is equal to the current instance of FragmentState.

System_CAPS_pubmethodEquals(Object)

Determines if a given object is an instance FragmentState equal to the current instance of FragmentState.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(FragmentState, FragmentState)

Determines if two instances of FragmentState describes the same TextFragment state.

System_CAPS_puboperatorSystem_CAPS_staticInequality(FragmentState, FragmentState)

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.

  • Specification and control of the quality of the spoken output is largely handled through the Prosody, Emphasis, and Duration

  • Phonetic, language, and linguist structure information is available through LangId, Phoneme, and SayAs.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft