![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
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.