ISpeechRecoGrammar Reset Method

Microsoft Speech SDK

Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

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.