Represents the grammar element that specifies a reference to a rule.
Assembly: Microsoft.Speech (in Microsoft.Speech.dll)
The class is particularly useful when you want to reuse an SrgsRule element whose contents have already been defined. By reusing existing rules, you can build complex grammars more quickly.
You can use one of the constructors of the class to reference an SrgsRule object or a rule element if the following is true:
The rule element is in an external grammar and the value of its scope attribute is public.
The rule element is in an external grammar, the value of its scope attribute is private, and it is declared as the root rule of the external grammar.
This class represents the ruleref element as defined in the World Wide Web Consortium (W3C) Speech Recognition Grammar Specification (SRGS) Version 1.0.