MenuItemCollection class is a collection of MenuItem objects.
For a list of all members of this type, see MenuItemCollection Members.
System.Object
EO.Web.NavigationItemCollection
EO.Web.MenuItemCollection
[Visual Basic]
Public Class MenuItemCollection
Thread Safety
Public static (Shared in Visual Basic) members of this type are
safe for multithreaded operations. Instance members are not guaranteed to be
thread-safe.
Remarks
The MenuItemCollection class is used to store and manage a collection of MenuItem objects. Menu object uses it to store top level menu items in the Items property. MenuGroup object uses it to store the child menu item objects in Items property.
You can programmatically manage a MenuItemCollection object by adding and removing MenuItem objects. To add menu items to the collection, use the Add method. To remove nodes from the collection, use the Remove, the RemoveAt, or the Clear method.
Note:
DataBind clears the submenu's sub item collection.
Requirements
Namespace: EO.Web
Assembly: EO.Web (in EO.Web.dll)
See Also
MenuItemCollection Members | EO.Web Namespace