Share via


WinMenuBar Constructor (UITestControl)

Initializes a new instance of the WinMenuBar class.

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 WinMenuBar(
    UITestControl parent
)
public:
WinMenuBar(
    UITestControl^ parent
)
new : 
        parent:UITestControl -> WinMenuBar
public function WinMenuBar(
    parent : UITestControl
)

Parameters

.NET Framework Security

See Also

Reference

WinMenuBar Class

WinMenuBar Overload

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace

UITestControl