Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
SrgsRule Members
Include Protected Members
Include Inherited Members
Represents a grammar rule.
The SrgsRule type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SrgsRule(String) | Initializes a new instance of the SrgsRule class and specifies the identifier for the rule. | |
SrgsRule(String, []) | Initializes a new instance of the SrgsRule class from an array of SrgsElement objects. |
Top
Properties
Name | Description | |
---|---|---|
Elements | Gets the collection of SrgsElement objects in the SrgsRule instance. | |
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
Methods
Name | Description | |
---|---|---|
Add | Adds an SrgsElement to an SrgsRule object. | |
Equals | (inherited from Object) | |
Finalize | (inherited from Object) | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
MemberwiseClone | (inherited from Object) | |
ToString | (inherited from Object) |
Top