Represents the grammar element that specifies a reference to a rule.
The SrgsRuleRef type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SrgsRuleRef(Uri) | Initializes a new instance of the SrgsRuleRef class and specifies the location of the external grammar file to reference. | |
SrgsRuleRef(SrgsRule) | Initializes a new instance of the SrgsRuleRef class and specifies the rule to reference. | |
SrgsRuleRef(Uri, String) | Initializes a new instance of the SrgsRuleRef class, specifying the location of the external grammar file and the identifier of the rule to reference. | |
SrgsRuleRef(SrgsRule, String) | Initializes a new instance of the SrgsRuleRef class, specifying the rule to reference and a string that contains a semantic key. | |
SrgsRuleRef(Uri, String, String) | Initializes a new instance of the SrgsRuleRef class, specifying the location of the external grammar file, the identifier of the rule, and the string alias of the semantic dictionary. |
Properties
Name | Description | |
---|---|---|
Params | Gets the initialization parameters for a SrgsRuleRef object. | |
SemanticKey | Gets an alias string for the semantic dictionary. | |
Uri | Gets the URI for the rule that this SrgsRuleRef object references. |
Methods
Name | Description | |
---|---|---|
CreateObjRef | (Inherited from MarshalByRefObject.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetLifetimeService | (Inherited from MarshalByRefObject.) | |
GetType | (Inherited from Object.) | |
InitializeLifetimeService | (Inherited from MarshalByRefObject.) | |
MemberwiseClone()()()() | (Inherited from Object.) | |
MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) | |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
Dictation | Defines a rule that can match spoken input as defined by the dictation topic associated with this grammar. | |
Garbage | Defines a rule that can match any speech up to the next rule match, the next token, or until the end of spoken input. | |
MnemonicSpelling | ||
Null | Defines a rule that is automatically matched in the absence of any audio input. | |
Void | Defines a rule that can never be spoken. Inserting VOID into a sequence automatically makes that sequence unspeakable. |