ISpeechGrammarRules Item Method

Microsoft Speech SDK

Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

Interface: ISpeechGrammarRules

Item Method


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


ISpeechGrammarRules.Item(
     Index As Long
) As ISpeechGrammarRule

Parameters

Index
Specifies the Index of the rule.

Return Value

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


Remarks

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.

Example

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