Settings Property
Gets a collection of SpeechControlSettingsItem objects that initializes property values for the Speech Controls that reference it. Read-only.
Usage
Get value: | SpeechControlSettingsCollection = SpeechControlSettings.Settings; |
Set value: | Read-only |
Data type: | SpeechControlSettingsCollection |
Remarks
The Settings property of a SpeechControlSettingsCollection can reference another SpeechControlSettingsCollection. In this case, property settings in the first SpeechControlSettingsCollection are initialized with the settings in the second SpeechControlSettingsCollection control.
Example
<form id="WebForm1" method="post" runat="server">
...
<speech:SpeechControlSettings ID="Base_Settings" runat="server">
<Items>
<Speech:SpeechControlSettingsItem ID="QA_Basic" runat="server">
<QA XPathAcceptConfirms="SML/Yes" XPathDenyConfirms="SML/No" ></QA>
</Speech:SpeechControlSettingsItem>
</Items>
</speech:SpeechControlSettings>
<speech:SpeechControlSettings ID="Easy_Settings" Settings="Base_Settings" runat="server">
<Items>
<Speech:SpeechControlSettingsItem ID="Easy_QA" runat="server">
<QA AcceptRejectThreshold="0.25" DenyRejectThreshold="0.25" ></QA>
</Speech:SpeechControlSettingsItem>
</Items>
</speech:SpeechControlSettings>
<speech:SpeechControlSettings ID="Strict_Settings" Settings="Base_Settings" runat="server">
<Items>
<Speech:SpeechControlSettingsItem ID="Strict_QA" runat="server">
<QA AcceptRejectThreshold="0.5" DenyRejectThreshold="0.5" > </QA>
</Speech:SpeechControlSettingsItem>
</Items>
</speech:SpeechControlSettings>
...
</form>
See Also
SpeechControlSettings Class | SpeechControlSettings Constructor | SpeechControlSettings Members | SpeechControlSettings Properties | SpeechControlSettings Methods | SpeechControlSettings Events | SpeechControlSettings Remarks