Share via


HtmlMenuItemCollection members

A template that defines the menu items for a specific menu.

The HtmlMenuItemCollection type exposes the following members.

Constructors

  Name Description
Public method HtmlMenuItemCollection Initializes a new instance of the HtmlMenuItemCollection class.

Top

Methods

  Name Description
Public method Add Adds a menu item to a menu.
Public method Contains Determines whether this collection contains a specified menu item.
Public method IndexOf Gets the index of the menu item.
Public method Insert Inserts a menu item at the specified location.
Public method Remove Removes a menu item from a menu.

Top

See also

Reference

HtmlMenuItemCollection class

Microsoft.SharePoint.Portal.WebControls namespace