ISpeechRecoGrammar Reset Method (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

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.