Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
GrammarInfo Constructor (String)
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
'Declaration
Public Sub New ( _
filePath As String _
)
'Usage
Dim filePath As String
Dim instance As New GrammarInfo(filePath)
public GrammarInfo(
string filePath
)
Parameters
- filePath
Type: System.String
The full path to the file.