Share via


HtmlControl.InnerText Property

Gets the text content of 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 InnerText As String
public virtual string InnerText { get; }
public:
virtual property String^ InnerText {
    String^ get ();
}
abstract InnerText : string
override InnerText : string
function get InnerText () : String

Property Value

Type: System.String
The text content of this control.

.NET Framework Security

See Also

Reference

HtmlControl Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace