Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

GrammarInfo Constructor (Stream)

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

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

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

Parameters

  • stream
    Type: System.IO.Stream
    The stream from which to load the grammar information.

See Also

Reference

GrammarInfo Class

GrammarInfo Members

GrammarInfo Overload

Microsoft.Speech.Recognition Namespace