SrgsElement Class
Defines the base class for classes in the System.Speech.Recognition.SrgsGrammar namespace that correspond to the elements in an SRGS grammar.
Assembly: System.Speech (in System.Speech.dll)
System.MarshalByRefObject
System.Speech.Recognition.SrgsGrammar.SrgsElement
System.Speech.Recognition.SrgsGrammar.SrgsItem
System.Speech.Recognition.SrgsGrammar.SrgsNameValueTag
System.Speech.Recognition.SrgsGrammar.SrgsOneOf
System.Speech.Recognition.SrgsGrammar.SrgsRuleRef
System.Speech.Recognition.SrgsGrammar.SrgsSemanticInterpretationTag
System.Speech.Recognition.SrgsGrammar.SrgsSubset
System.Speech.Recognition.SrgsGrammar.SrgsText
System.Speech.Recognition.SrgsGrammar.SrgsToken
| Name | Description | |
|---|---|---|
![]() | SrgsElement() | This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the SrgsElement class. |
| Name | Description | |
|---|---|---|
![]() | CreateObjRef(Type) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.) |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLifetimeService() | Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | GetType() | |
![]() | InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | MemberwiseClone() | |
![]() | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The SrgsElement class is the base class for the following classes, which correspond to elements defined in the Speech Recognition Grammar Specification (SRGS) Version 1.0:
Two additional classes inherit from SrgsElement and represent the text contained within the classes listed above (SrgsText), and recognition matching modes (SrgsSubset):
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

