HtmlDiv.DisplayText Property
Gets the text in this control.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assembly: 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
override DisplayText : string
function get DisplayText () : String
Property Value
Type: System.String
The text in this control.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace