MenuItemStyleCollection.Insert Method (Int32, MenuItemStyle)
.NET Framework (current version)
Inserts the specified MenuItemStyle object into the collection at the specified index location.
Assembly: System.Web (in System.Web.dll)
Parameters
- index
-
Type:
System.Int32
The zero-based index location at which to insert the MenuItemStyle.
- style
-
Type:
System.Web.UI.WebControls.MenuItemStyle
The MenuItemStyle to insert.
Use the Insert method to insert the specified MenuItemStyle object into the collection at the specified zero-based index.
As an alternative, you can append a MenuItemStyle object to the end of the collection using the Add method.
.NET Framework
Available since 2.0
Available since 2.0
Show: