ISpeechPhraseInfo GrammarId Property (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

Interface: ISpeechPhraseInfo

GrammarId Property

The GrammarId property returns the ID of the grammar that contains the top-level rule used to recognize the phrase.

The grammar ID is set with ISpeechRecoContext.CreateGrammar.

Syntax

Set: (This property is read-only)
Get: Variant = ISpeechPhraseInfo.GrammarId

Parts

ISpeechPhraseInfo
The owning object.
Variant
Set: (This property is read-only)
Get: A Variant variable that gets the property.

Example

Use of the ISpeechPhraseInfo object is demonstrated in a code example at the end of this section.