SpeechRecognizer.UnloadAllGrammars Method


Unloads all speech recognition grammars from the shared recognizer.

 void UnloadAllGrammars();
public void UnloadAllGrammars ();
member this.UnloadAllGrammars : unit -> unit
Public Sub 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.

Applies to

See also