다음을 통해 공유


HtmlListItem.DisplayText Property

Gets the display text for this list item.

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

Syntax

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

Property Value

Type: String
The display text for this list item.

.NET Framework Security

See Also

Reference

HtmlListItem Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace