This documentation is archived and is not being maintained.
Visual Studio 2010
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.
|Add(MenuItem)||Adds a previously created MenuItem to the end of the current menu.|
|Add(String)||Adds a new MenuItem, to the end of the current menu, with a specified caption.|
|Add(Int32, MenuItem)||Adds a previously created MenuItem at the specified index within the menu item collection.|
|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.|
|Add(String, MenuItem)||Adds a new MenuItem to the end of this menu with the specified caption, Click event handler, and items.|