Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DtmfRecognitionEngine.LoadGrammar Method

Synchronously loads the specified Grammar object into the DtmfRecognitionEngine instance.

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

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

instance.LoadGrammar(grammar)

The LoadGrammar(Grammar) method will block execution while the Grammar is being loaded. For instant return, use the LoadGrammarAsync(Grammar) method.

Show:
© 2015 Microsoft