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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft