ISpeechPhraseRule Id Property (SAPI 5.4)

Microsoft Speech API 5.4

Interface: ISpeechPhraseRule

Id Property

The Id property returns the ID of the phrase rule.

In the Speech Text Grammar Format, this data is specified in the ID attribute of the RULE element.

Syntax

Set: (This property is read-only)
Get: Long = ISpeechPhraseRule.Id

Parts

  • ISpeechPhraseRule
    The owning object.
  • Long
    Set: (This property is read-only)
    Get: A Long variable that gets the ID of the rule.

Example

For an example of the use of the Id property, see the code example at the end of this section.