![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)
Creates a new instance of the GrammarInfo class, using the grammar data in the specified file path.
Namespace:
Microsoft.Speech.Recognition
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ filePath As String _ ) |
Visual Basic (Usage) |
---|
Dim filePath As String Dim instance As New GrammarInfo(filePath) |
C# |
---|
public GrammarInfo( string filePath ) |
Parameters
- filePath
- Type: System..::..String
The full path to the file.