Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Menu Constructor
Collapse the table of content
Expand the table of content

Menu Constructor

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
)

Parameters

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft