GrammarInfo Constructor (String)

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

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.

See Also