DtmfRecognitionEngine.UnloadGrammar Method

Unloads the specified Grammar object from the DtmfRecognitionEngine instance.

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

'Declaration
Public Sub UnloadGrammar ( _
	grammar As Grammar _
)
'Usage
Dim instance As DtmfRecognitionEngine
Dim grammar As Grammar

instance.UnloadGrammar(grammar)

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

Show: