Partager via


UITestControlNotFoundException.RootElement Property

Gets or sets a string representation of the root element.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public Property RootElement As String
public string RootElement { get; set; }
public:
property String^ RootElement {
    String^ get ();
    void set (String^ value);
}
member RootElement : string with get, set
function get RootElement () : String 
function set RootElement (value : String)

Property Value

Type: String
The root element.

.NET Framework Security

See Also

Reference

UITestControlNotFoundException Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace