Menu Constructor (MenuItem[])

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 1.1
Return to top
Show: