Share via


SemanticItem Remarks

  Microsoft Speech Technologies Homepage

Contains information about an input control's semantic state and its binding and autopostback characteristics.

The SemanticItem control describes where and when recognition results for Answer control are written to input controls on a page. Each SemanticItem can be associated with an input control, usually a text box, when visual feedback is needed. Answer controls from more than one QA control can target the same SemanticItem.

The TargetElement and TargetAttribute properties of the SemanticItem identify the target input control for the purpose of binding. The Text of the SemanticItem property stores the target's recognized text and the State property indicates whether the text needs confirmation or whether it has been confirmed.

SemanticItem is a Web control, and the information it contains is accessible on the client and on the server. The SemanticItem client-side object exposes methods that can be used to manipulate the object and its attributes collection.

SemanticItem controls must be defined within a SemanticMap control, which is a collection of SemanticItem controls.

Markup

<speech:SemanticItem Properties runat="server" >
</speech:SemanticItem>

See Also

SemanticItem Class | SemanticItem Constructor | SemanticItem Members | SemanticItem Properties | SemanticItem Methods | SemanticItem Events | SemanticItem Client Object