The RecognizerGrammar type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| RecognizerGrammar |
Creates a new instance of the class RecognizerGrammar.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. | |
| GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
| GetType | Gets the Type of the current instance. | |
| Load |
Loads a grammer file fileName.
| |
| LoadCompiled |
Loads a compiled grammer.
| |
| LoadDictation |
Loads dictation.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. | |
| Reset |
Resets grammer.
| |
| SetDictationState |
Sets dictation state.
| |
| SetRuleState | Overloaded. | |
| SetTopLevelRulesState |
Sets top level rules state.
| |
| ToString | (Inherited from Object.) | |
| UnloadDictation |
Unloads dictation.
|
Properties
| Name | Description | |
|---|---|---|
| Context |
Returns the instance RecognizerContext where was the grammer created.
| |
| Enabled |
Gets or sets whether the grammer is enabled.
| |
| Id |
Gets the grammer identifier.
| |
| Rules |
Returns rules ISpeechGrammarRules of the grammer.
|