DtmfRecognitionEngine..::..LoadGrammarAsync Method |
DtmfRecognitionEngine Class See Also Send Feedback |
Asynchronously loads the specified Grammar object into the DtmfRecognitionEngine instance.
Namespace:
Microsoft.Speech.Recognition
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub LoadGrammarAsync ( _ grammar As Grammar _ ) |
Visual Basic (Usage) |
---|
Dim instance As DtmfRecognitionEngine Dim grammar As Grammar instance.LoadGrammarAsync(grammar) |
C# |
---|
public void LoadGrammarAsync( Grammar grammar ) |
Parameters
- grammar
- Type: Microsoft.Speech.Recognition..::..Grammar