Script Property

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Gets or sets the ECMAScript for the tag.

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

Syntax

Visual Basic (Declaration)
Public Property Script As String
	Get
	Set
Visual Basic (Usage)
Dim instance As SrgsSemanticInterpretationTag
Dim value As String

value = instance.Script

instance.Script = value
C#
public string Script { get; set; }

Property Value

Type: System..::..String

A string that contains the semantic interpretation script for the tag.

Exceptions

ExceptionCondition
ArgumentNullException

An attempt is made to set Script to nullNothingnullptrunita null reference (Nothing in Visual Basic).

See Also