DtmfRecognitionEngine.UnloadGrammar Method

Unloads the specified Grammar object from the DtmfRecognitionEngine instance.

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

public void UnloadGrammar(
	Grammar grammar
)

An ArgumentException is thrown if the specified Grammar object is not currently loaded in the DtmfRecognitionEngine instance.

Show: