Determines the index of the specified System.Web.UI.WebControls.MenuItem object in the collection.
- item
- Documentation for this section has not yet been entered.
The zero-based index of the first occurrence of value within the current System.Web.UI.WebControls.MenuItemCollection, if found; otherwise, -1.
Use the MenuItemCollection.IndexOf(MenuItem) method to determine the index of the specified System.Web.UI.WebControls.MenuItem object in the current System.Web.UI.WebControls.MenuItemCollection object. If the menu item is not in the collection, the method returns -1.
If the specified menu item appears multiple times in the collection, the index of the first occurrence is returned.