WinTreeItem Constructor (UITestControl)
Initializes a new instance of the WinTreeItem class by using the provided parent control.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Sub New ( _
parent As UITestControl _
)
public WinTreeItem(
UITestControl parent
)
public:
WinTreeItem(
UITestControl^ parent
)
new :
parent:UITestControl -> WinTreeItem
public function WinTreeItem(
parent : UITestControl
)
Parameters
parent
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlThe UITestControl that contains this control.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace