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 Property Text As String
public string Text { get; set; }
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.


Exception type Condition

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.


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


SrgsText Class
SrgsText Members
Microsoft.Speech.Recognition.SrgsGrammar Namespace