Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Reset

ISpeechRecoGrammar Reset Method (SAPI 5.3)

Speech API 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.

Show:
© 2015 Microsoft