Share via


Note

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

SrgsSemanticInterpretationTag Constructor (String)

Creates an instance of the SrgsSemanticInterpretationTag class, specifying the script contents of the tag.

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

Syntax

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

Dim instance As New SrgsSemanticInterpretationTag(script)
public SrgsSemanticInterpretationTag(
    string script
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

Remarks

This constructor creates a semantic interpretation tag whose Script property is set to the value in script.

See Also

Reference

SrgsSemanticInterpretationTag Class

SrgsSemanticInterpretationTag Members

SrgsSemanticInterpretationTag Overload

Microsoft.Speech.Recognition.SrgsGrammar Namespace