Gets the Grammar object that the speech recognizer used to return the RecognizedPhrase.
Namespace:
Microsoft.Speech.Recognition
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public ReadOnly Property Grammar As Grammar Get |
Visual Basic (Usage) |
---|
Dim instance As RecognizedPhrase Dim value As Grammar value = instance.Grammar |
C# |
---|
public Grammar Grammar { get; } |
Property Value
Type: Microsoft.Speech.Recognition..::..GrammarThe grammar object that the speech recognizer used to identify the input.