Share via


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 _
)
public SrgsSemanticInterpretationTag (
    string script
)
public:
SrgsSemanticInterpretationTag (
    String^ script
)
public SrgsSemanticInterpretationTag (
    String script
)
public function SrgsSemanticInterpretationTag (
    script : String
)

Parameters

  • script
    A string that contains the ECMAScript for the tag.

Exceptions

Exception type Condition
ArgumentNullException

script is null.

Remarks

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

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

SrgsSemanticInterpretationTag Class
SrgsSemanticInterpretationTag Members
Microsoft.Speech.Recognition.SrgsGrammar Namespace