Share via


HtmlEditableDiv.Text Property

Gets or sets the contents of the 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 Property Text As String
public virtual string Text { get; set; }
public:
virtual property String^ Text {
    String^ get ();
    void set (String^ value);
}
abstract Text : string with get, set 
override Text : string with get, set
function get Text () : String 
function set Text (value : String)

Property Value

Type: String
The contents of the control.

.NET Framework Security

See Also

Reference

HtmlEditableDiv Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace