







|
| SrgsSemanticInterpretationTag Constructor (String) |
| SrgsSemanticInterpretationTag Class See Also Send Feedback |
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
| Exception | Condition |
|---|---|
| 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.
