Share via


WinButton Constructor (UITestControl)

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

Parameters

.NET Framework Security

See Also

Reference

WinButton Class

WinButton Overload

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace

UITestControl