Menu Constructor
Collapse the table of content
Expand the table of content

Menu Constructor (MenuItem[])


Initializes a new instance of the Menu class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected Menu(
	MenuItem[] items


Type: System.Windows.Forms.MenuItem[]

An array of type MenuItem containing the objects to add to the menu.

Since Menu is an abstract class, only inherited classes can call the Menu constructor.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft