Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

DtmfRecognitionEngine.LoadGrammarAsync Method

Asynchronously loads the specified Grammar object into the DtmfRecognitionEngine instance.

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

Syntax

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

instance.LoadGrammarAsync(grammar)
public void LoadGrammarAsync(
    Grammar grammar
)

Parameters

See Also

Reference

DtmfRecognitionEngine Class

DtmfRecognitionEngine Members

Microsoft.Speech.Recognition Namespace