SrgsRule Members
Represents a grammar rule.
The following tables list the members exposed by the SrgsRule type.
Public Constructors
Name | Description | |
---|---|---|
SrgsRule | Overloaded. Initializes a new instance of the SrgsRule class. |
Top
Public Properties
Name | Description | |
---|---|---|
Elements | Gets the collection of elements in the rule. | |
Id | Gets or sets the identifier for the rule. | |
Scope | Gets or sets whether a rule can be activated for recognition and when the rule can be referenced by other rules. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Add | Adds an SRGS element to a rule. | |
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
ReferenceEquals | (inherited from Object ) | |
ToString | (inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
Top
See Also
Reference
SrgsRule Class
Microsoft.Speech.Recognition.SrgsGrammar Namespace