Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
![]() |
Gets or sets the ID of a SpeechControlSettingsItem that initializes property values of the control. Read/write.
Usage
| ASP.NET markup: | <speech:SemanticItem Settings="..." /> |
| Get value: | String = SemanticItem.Settings; |
| Set value: | SemanticItem.Settings = String; |
| Data type: | String |
| Required: | No |
Remarks
Application authors can create a SpeechControlSettingsItem control for each application modality that requires a different set of Speech Controls properties. The Settings property specifies the SpeechControlSettingsItem control to be used.
Example
<form id="Form1" method="post" runat="server">
...
<speech:SpeechControlSettings id="Settings" runat="server">
<Items>
<Speech:SpeechControlSettingsItem id="VOSettings" runat="server">
<QA BabbleTimeout="10000" EndSilence="1000" MaxTimeout="30000" />
<SemanticItem BindOnChanged="True" BindAt="server" />
</Speech:SpeechControlSettingsItem>
</Items>
</speech:SpeechControlSettings>
...
<asp:label runat=server>Beverage Type: </asp:label>
<asp:textbox id="txtBeverage" runat=server></asp:textbox><br />
<asp:label runat=server>Number of shots: </asp:label>
<asp:textbox id="txtShots" runat=server></asp:textbox><br />
<asp:label runat=server>Container Size: </asp:label>
<asp:textbox id="txtSize" runat=server></asp:textbox><br />
...
<Speech:SemanticMap id="TheSemanticMap" runat="server">
<Speech:SemanticItem id="siDrink" Settings="VOSettings" runat="server"
TargetElement="txtBeverage" TargetAttribute="value" >
</Speech:SemanticItem>
<Speech:SemanticItem id="siShots" Settings="VOSettings" runat="server"
TargetElement="txtShots" TargetAttribute="value" >
</Speech:SemanticItem>
<Speech:SemanticItem id="siSize" Settings="VOSettings" runat="server"
TargetElement="txtSize" TargetAttribute="value" >
</Speech:SemanticItem>
</Speech:SemanticMap>
...
<Speech:QA Settings="VOSettings" runat="server" >
<Prompt inlinePrompt="What kind of coffee would you like?" />
<Reco Reject=".5" InitialTimeout="3000" >
<Grammars>
<speech:Grammar src="Grammars\caffe.xml" />
</Grammars>
</Reco>
<Answers>
<speech:Answer XPathTrigger="/SML/TYPE" SemanticItem="siDrink" />
<speech:Answer XPathTrigger="/SML/SHOTS" SemanticItem="siShots" />
<speech:Answer XPathTrigger="/SML/SIZE" SemanticItem="siSize" />
</Answers>
</Speech:QA>
...
</form>
See Also
SemanticItem Class | SemanticItem Constructor | SemanticItem Members | SemanticItem Properties | SemanticItem Methods | SemanticItem Events | SemanticItem Remarks | SemanticItem Client Object
.jpg)