Share via


SrgsToken Class

Represents the World Wide Web Consortium (W3C) Speech Recognition Grammar Specification (SRGS) token element.

Namespace: Microsoft.Speech.Recognition.SrgsGrammar
Assembly: Microsoft.Speech (in microsoft.speech.dll)

Syntax

'Declaration
<SerializableAttribute> _
<DebuggerDisplayAttribute("{DebuggerDisplayString ()}")> _
Public NotInheritable Class SrgsToken
    Inherits SrgsElement
[SerializableAttribute] 
[DebuggerDisplayAttribute("{DebuggerDisplayString ()}")] 
public sealed class SrgsToken : SrgsElement
[SerializableAttribute] 
[DebuggerDisplayAttribute(L"{DebuggerDisplayString ()}")] 
public ref class SrgsToken sealed : public SrgsElement
/** @attribute SerializableAttribute() */ 
/** @attribute DebuggerDisplayAttribute("{DebuggerDisplayString ()}") */ 
public final class SrgsToken extends SrgsElement
SerializableAttribute 
DebuggerDisplayAttribute("{DebuggerDisplayString ()}") 
public final class SrgsToken extends SrgsElement

Remarks

If multiple words are stored in a single SrgsToken element, each is treated as a different token internally and in the result.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     Microsoft.Speech.Recognition.SrgsGrammar.SrgsElement
      Microsoft.Speech.Recognition.SrgsGrammar.SrgsToken

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

See Also

Reference

SrgsToken Members
Microsoft.Speech.Recognition.SrgsGrammar Namespace