SrgsToken.Display Property

Gets or sets how recognized text is returned.

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

Syntax

'Declaration
Public Property Display As String
public string Display { get; set; }
public:
property String^ Display {
    String^ get ();
    void set (String^ value) sealed;
}
/** @property */
public String get_Display ()

/** @property */
public final void set_Display (String value)
public function get Display () : String

public final function set Display (value : String)

Property Value

A representation of the token as it should be displayed.

Exceptions

Exception type Condition
ArgumentNullException

An attempt is made to set Display to null.

ArgumentOutOfRangeException

An attempt is made to assign an empty string to Display.

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

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