SrgsSemanticInterpretationTag Constructor (String)

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

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

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

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

Parameters

script
Type: System..::..String

A string that contains the ECMAScript for the tag.

Exceptions

ExceptionCondition
ArgumentNullException

script is nullNothingnullptrunita 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