Share via


ISpeechGrammarRule AddState Method (SAPI 5.3)

Microsoft Speech API 5.3

Interface: ISpeechGrammarRule

AddState Method

The AddState method adds a state to a speech rule.

This method can be used with the ISpeechGrammarRuleState methods AddRuleTransition, AddSpecialTransition, or AddWordTransition to modify speech rules programmatically.

  
    ISpeechGrammarRule.AddState() As ISpeechGrammarRuleState

Parameters

None.

Return Value

An ISpeechGrammarRuleState object.