Share via


SrgsElement Class

Defines the base class for elements in a grammar.

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

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class SrgsElement
    Inherits MarshalByRefObject
[SerializableAttribute] 
public abstract class SrgsElement : MarshalByRefObject
[SerializableAttribute] 
public ref class SrgsElement abstract : public MarshalByRefObject
/** @attribute SerializableAttribute() */ 
public abstract class SrgsElement extends MarshalByRefObject
SerializableAttribute 
public abstract class SrgsElement extends MarshalByRefObject

Remarks

The SrgsElement class is the base class for the following Speech Recognition Grammar Specification (SRGS) elements:

SrgsItem

SrgsNameValueTag

SrgsOneOf

SrgsRuleRef

SrgsText

SrgsToken

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
    Microsoft.Speech.Recognition.SrgsGrammar.SrgsElement
       Derived Classes

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

SrgsElement Members
Microsoft.Speech.Recognition.SrgsGrammar Namespace