Share via


WinMenuBar.Items Property

Gets the collection of all items on the menu bar.

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlCollection
The collection of all items on the menu bar.

.NET Framework Security

See Also

Reference

WinMenuBar Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace