SrgsText.Text Property

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

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

public string Text { get; set; }

Property Value

Type: System.String
The text contained within the SrgsText instance.

ExceptionCondition
ArgumentNullException

An attempt is made to set Text to a null reference (Nothing in Visual Basic).

Show: