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)
Syntax
'Declaration
Public Property Text As String
public string Text { get; set; }
public:
property String^ Text {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_Text ()
/** @property */
public void set_Text (String value)
public function get Text () : String
public function set Text (value : String)
Property Value
The text contained within the SrgsText instance.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | An attempt is made to set Text to null. |
Thread Safety
All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition
Target Platforms
See Also
Reference
SrgsText Class
SrgsText Members
Microsoft.Speech.Recognition.SrgsGrammar Namespace