Add(Microsoft.SharePoint.Portal.WebControls.HtmlMenuItem) Method
The Add method of the HtmlMenuItemCollection class adds a menu item to a menu.
Parameters
objItem Object that contains the menu item that is added to the menu.
Return Value
A 32-bit signed integer that represents the index of the menu item added to the collection.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security