Share via


WinTreeItem.ParentNode Property

Gets the control at the parent node of this tree item.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property ParentNode As UITestControl
public virtual UITestControl ParentNode { get; }
public:
virtual property UITestControl^ ParentNode {
    UITestControl^ get ();
}
abstract ParentNode : UITestControl
override ParentNode : UITestControl
function get ParentNode () : UITestControl

Property Value

Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The control at the parent node of this tree item.

.NET Framework Security

See Also

Reference

WinTreeItem Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace