Appends the specified System.Web.UI.WebControls.MenuItemStyle object to the end of the current collection.
- style
The System.Web.UI.WebControls.MenuItemStyle to append to the end of the current collection.
![]()
The zero-based index of the added System.Web.UI.WebControls.MenuItemStyle.
Use the MenuItemStyleCollection.Add(MenuItemStyle) method to append the specified System.Web.UI.WebControls.MenuItemStyle object to the end of the collection. As an alternative, you can insert a System.Web.UI.WebControls.MenuItemStyle object into the collection at a specific index by using the MenuItemStyleCollection.Insert(int, MenuItemStyle) method.