Compartilhar via


WinControl Constructor (UITestControl)

Initializes a new instance of the WinControl 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 WinControl(
    UITestControl parent
)
public:
WinControl(
    UITestControl^ parent
)
new : 
        parent:UITestControl -> WinControl
public function WinControl(
    parent : UITestControl
)

Parameters

.NET Framework Security

See Also

Reference

WinControl Class

WinControl Overload

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace

UITestControl