HtmlMenuItemCollection Class
The HtmlMenuItemCollection class is a template that defines the menu items for a specific menu.
System.Web.UI.Control
Microsoft.SharePoint.Portal.WebControls.HtmlMenuItemCollection
Public Constructors
The following table shows the constructors of the HtmlMenuItemCollection class and a brief description of each.
Name | Description |
---|---|
HtmlMenuItemCollection | Initializes a new instance of the HtmlMenuItemCollection class. |
Public Methods
The following table shows the public methods of the HtmlMenuItemCollection class and a brief description of each.
Name | Description |
---|---|
Add(Microsoft.SharePoint.Portal.WebControls.HtmlMenuItem) | Adds a menu item to a menu. |
Contains(Microsoft.SharePoint.Portal.WebControls.HtmlMenuItem) | Determines whether this collection contains a specified menu item. |
IndexOf(Microsoft.SharePoint.Portal.WebControls.HtmlMenuItem) | Gets the index of the menu item. |
Insert(Int32, Microsoft.SharePoint.Portal.WebControls.HtmlMenuItem) | Inserts a menu item at the specified location. |
Remove(Microsoft.SharePoint.Portal.WebControls.HtmlMenuItem) | Removes a menu item from a menu. |
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.
Requirements
Namespace: Microsoft.SharePoint.Portal.WebControls
Platforms: Microsoft Windows Server 2003
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Security: Code Access Security