Share via


ISpeechGrammarRules Count Property (SAPI 5.3)

Microsoft Speech API 5.3

Interface: ISpeechGrammarRules

Count Property

The Count property returns the number of ISpeechGrammarRule objects in the ISpeechGrammarRules object.

Syntax

Set: (This property is read-only)
Get: Long = ISpeechGrammarRules.Count

Parts

  • ISpeechGrammarRules
    The owning object.
  • Long
    Set: (This property is read-only)
    Get: A Long variable that gets the count.

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 Count property is one of these common properties.

Example

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