Share via


ISpeechGrammarRules CommitAndSave Method (SAPI 5.3)

Microsoft Speech API 5.3

Interface: ISpeechGrammarRules

CommitAndSave Method

The CommitAndSave method compiles the rules in the rule collection and saves the result.

  
    ISpeechGrammarRules.CommitAndSave(
     ErrorText As String
) As Variant

Parameters

  • ErrorText
    The text of any errors that may result from compiling and saving the grammar upon calling the method.

Return Value

The CommitAndSave method returns a Variant variable.