HtmlSpan.DisplayText Property

Gets the text that appears in this span control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)


Public Overridable ReadOnly Property DisplayText As String
public virtual string DisplayText { get; }
virtual property String^ DisplayText {
    String^ get ();
abstract DisplayText : string
override DisplayText : string
function get DisplayText () : String

Property Value

Type: System.String
The text that appears in this span control.

.NET Framework Security

See Also


HtmlSpan Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace