Export (0) Print
Expand All

Menu.MenuItemCollection.Add Method

Adds a new MenuItem to the collection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Add(String) Adds a new MenuItem, to the end of the current menu, with a specified caption.
Public method Supported by the .NET Compact Framework Add(MenuItem) Adds a previously created MenuItem to the end of the current menu.
Public method Add(Int32, MenuItem) Adds a previously created MenuItem at the specified index within the menu item collection.
Public method Add(String, EventHandler) Adds a new MenuItem to the end of the current menu with a specified caption and a specified event handler for the Click event.
Public method Add(String, MenuItem[]) Adds a new MenuItem to the end of this menu with the specified caption, Click event handler, and items.
Top

Community Additions

ADD
Show:
© 2014 Microsoft