SrgsText.Text Property

 

Gets or sets the text contained within the SrgsText class instance.

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

public string Text { get; set; }

Property Value

Type: System.String

The text contained within the SrgsText instance.

Exception Condition
ArgumentNullException

An attempt is made to set Text to null.

.NET Framework
Available since 3.0
Return to top
Show: