HtmlControl.InnerText Property

Gets the text content of this control.

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

Property Value

Type: String
The text content of this control.

.NET Framework Security

See Also

Reference

HtmlControl Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace