GrammarInfo Constructor (Stream)

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 stream object.

Namespace:  Microsoft.Speech.Recognition
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	stream As Stream _
)
Visual Basic (Usage)
Dim stream As Stream

Dim instance As New GrammarInfo(stream)
C#
public GrammarInfo(
	Stream stream
)

Parameters

stream
Type: System.IO..::..Stream

The stream from which to load the grammar information.

See Also