![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 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.