Editar

Compartir a través de


Menu(MenuItem[]) Constructor

Definition

Initializes a new instance of the Menu class.

protected:
 Menu(cli::array <System::Windows::Forms::MenuItem ^> ^ items);
protected Menu (System.Windows.Forms.MenuItem[] items);
new System.Windows.Forms.Menu : System.Windows.Forms.MenuItem[] -> System.Windows.Forms.Menu
Protected Sub New (items As MenuItem())

Parameters

items
MenuItem[]

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

Remarks

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

Applies to