ISpeechGrammarRules Interface (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

ISpeechGrammarRules

The ISpeechGrammarRules automation interface represents a collection of ISpeechGrammarRule objects.

Automation Interface Elements

The ISpeechGrammarRules automation interface contains the following elements:

Properties Description
Count Property Returns the count of objects in the collection.
Dynamic Property Determines whether the grammar rules contained in the collection were created as dynamic.
Methods Description
Add Method Creates a new grammar rule in an ISpeechGrammarRules collection.
Commit Method Compiles the rules in the rule collection.
CommitAndSave Method Compiles the rules in the rule collection and saves the result.
FindRule Method Returns a grammar rule, specified by Name or by ID.
Item Method Returns a member of the collection specified by its index.