ISpeechRecoGrammar Reset Method (SAPI 5.3)
Microsoft Speech API 5.3
Interface: ISpeechRecoGrammar
Reset Method
The Reset method clears all grammar rules and resets the grammar's language to NewLanguage.
ISpeechRecoGrammar.ResetGrammar(
[NewLanguage As Long = 0]
)
Parameters
- NewLanguage
[Optional] Specifies the ID of the new language. The default value is zero.
Return Value
None.
Example
For an example of the use of the Reset method, see the CmdLoadFromMemory method.