Lang Property
Gets or sets the Lang property value of Grammar controls that reference the GrammarControlSettings control. Read/write.
Usage
ASP.NET markup: | <speech:GrammarControlSettings Lang="..." /> |
Get value: | String = GrammarControlSettings.Lang; |
Set value: | GrammarControlSettings.Lang = String; |
Data type: | String |
Required: | No |
Remarks
For more information about the Lang property of the Grammar control, see Grammar.Lang.
Example
<form id="Form1" method="post" runat="server">
...
<speech:SpeechControlSettings ID="AllSettings" runat="server">
<Items>
<speech:SpeechControlSettingsItem ID="Settings1" runat="server">
...
<QA ... >
...
<Grammar Lang="en-US" Type="application/srgs+xml"/>
<QA/>
...
</speech:SpeechControlSettingsItem>
</Items>
</speech:SpeechControlSettings>
...
<speech:QA Settings="Settings1" runat="server">
<speech:Grammar ... />
</speech:QA>
...
</form>
See Also
GrammarControlSettings Class | GrammarControlSettings Constructor | GrammarControlSettings Members | GrammarControlSettings Properties | GrammarControlSettings Methods