Share via


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

See Also

Reference

GrammarInfo Class

GrammarInfo Members

GrammarInfo Overload

Microsoft.Speech.Recognition Namespace