Dela via


SpeechRecognizer.UnloadAllGrammars Method

Definition

Unloads all speech recognition grammars from the shared recognizer.

public:
 void UnloadAllGrammars();
public void UnloadAllGrammars ();
member this.UnloadAllGrammars : unit -> unit
Public Sub UnloadAllGrammars ()

Remarks

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