Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
UnloadAllGrammars Method

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
Show:
© 2015 Microsoft