ISpeechPhraseInfo GrammarId Property (SAPI 5.3)
Microsoft Speech API 5.3
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.