DtmfRecognitionEngine.LoadGrammar Method
Synchronously loads the specified grammar into the DtmfRecognizer.
Namespace: Microsoft.Speech.Recognition
Assembly: Microsoft.Speech (in microsoft.speech.dll)
Syntax
'Declaration
Parameters
- grammar
Remarks
The LoadGrammar method will block execution while the grammar is loaded. For instant return, use the LoadGrammarAsync method.
Thread Safety
All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition
Target Platforms
See Also
Reference
DtmfRecognitionEngine Class
DtmfRecognitionEngine Members
Microsoft.Speech.Recognition Namespace