Share via


Note

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

SrgsText Constructor (String)

Initializes a new instance of the SrgsText class, specifying the text of the instance.

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

Syntax

'Declaration
Public Sub New ( _
    text As String _
)
'Usage
Dim text As String

Dim instance As New SrgsText(text)
public SrgsText(
    string text
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

text is a null reference (Nothing in Visual Basic).

See Also

Reference

SrgsText Class

SrgsText Members

SrgsText Overload

Microsoft.Speech.Recognition.SrgsGrammar Namespace