Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content

ISpeechGrammarRules Item Method (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

Interface: ISpeechGrammarRules

Item Method

The Item method returns a member of the ISpeechGrammarRules collection by its index.

     Index As Long
) As ISpeechGrammarRule


Specifies the Index of the rule.

Return Value

The Item method returns an ISpeechGrammarRule object as specified by the Index parameter.


The ISpeechGrammarRules object is a collection of ISpeechGrammarRule objects. As a collection, it provides access to any or all of its members through certain methods and properties common to all collection objects. The Item method is one of these common methods.


See the SpObjectToken Example for a complete example and additional details.

© 2015 Microsoft