FragmentState.LangId Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the language supported by the current FragmentState.

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

public int LangId { get; internal set; }

Property Value

Type: System.Int32

Returns an int containing an identifier for the language used by the current FragmentState.

The value of LangId are those used with the Windows Speech API (SAPI) and are generated from the "xml:lang" attribute on SSML input to a speech synthesizer engine.

.NET Framework
Available since 3.0
Return to top
Show: