SrgsDocument.Script Property

 

Gets or sets the .NET scripting language for the SrgsDocument class.

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

public string Script { get; set; }

Property Value

Type: System.String

The Script property returns the current .NET scripting language for the SrgsDocument class.

Exception Condition
System.ArgumentNullException

An attempt is made to set the Script property to null.

System.ArgumentException

An attempt is made to set the Script property to an empty string.

System_CAPS_noteNote

This property has been deprecated. Its use is no longer recommended.

.NET Framework
Available since 3.0
Return to top
Show: