Typ RecognizerGrammar zpřístupňuje následující členy.
Konstruktory
| Jméno | Popis | |
|---|---|---|
| RecognizerGrammar |
Vytvoří novou instanci třídy RecognizerGrammar.
|
Metody
| Jméno | Popis | |
|---|---|---|
| Equals | (Zděděno z 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 |
Načte soubor gramatiky fileName.
| |
| LoadCompiled |
Načte zkompilovanou gramatiku.
| |
| LoadDictation |
Načte diktování gramatiky.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. | |
| Reset |
Provede resetování gramatiky.
| |
| SetDictationState |
Nastaví stav slovníku.
| |
| SetRuleState | Přetíženo. | |
| SetTopLevelRulesState |
Nastaví stav hlavního pravidla.
| |
| ToString | (Zděděno z Object.) | |
| UnloadDictation |
Uvolní diktování gramatiky.
|
Vlastnosti
| Jméno | Popis | |
|---|---|---|
| Context |
Vrátí instanci RecognizerContext, ve kterém byla gramatika vytvořena.
| |
| Enabled |
Vrátí anebo nastaví povolení gramatiky.
| |
| Id |
Vrátí identifikátor gramatiky.
| |
| Rules |
Vrátí pravidla ISpeechGrammarRules gramatiky.
|