SemanticItem Generic Class

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Stores a value and a SemanticItemState and raises the Changed event whenever the value or state changes.

Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)

Syntax

'Declaration
Public Class SemanticItem(Of T)
    Inherits SemanticItem
public class SemanticItem<T> : SemanticItem

Remarks

SemanticItem objects are used to store information. The recommended way of updating a semantic item is to associate the Update method to an event raised by the grammar. An alternative technique is to override the Update method so that it directly changes the value and state of the semantic item.

SemanticItem objects raise the Changed event whenever their value or state changes.

Inheritance Hierarchy

System.Object
???? Microsoft.SpeechServer.Dialog.SemanticItem
????????Microsoft.SpeechServer.Dialog.SemanticItem

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

Windows Server 2003

See Also

Reference

SemanticItem Members
Microsoft.SpeechServer.Dialog Namespace