SpeechRecognizer::UnloadAllGrammars Method ()

 

Unloads all speech recognition grammars from the shared recognizer.

Namespace:   System.Speech.Recognition
Assembly:  System.Speech (in System.Speech.dll)

public:
void UnloadAllGrammars()

If the recognizer is currently loading a grammar asynchronously, this method waits until the grammar is loaded, before it unloads all of the recognizer's grammars.

To unload a specific grammar, use the UnloadGrammar method.

.NET Framework
Available since 3.0
Return to top
Show: