Determines the index of the specified System.Web.UI.WebControls.MenuItemBinding object in the collection.
- binding
- Documentation for this section has not yet been entered.
The zero-based index of the first occurrence of value within the collection, if found; otherwise, -1.
Use the MenuItemBindingCollection.IndexOf(MenuItemBinding) method to determine the index of the specified System.Web.UI.WebControls.MenuItemBinding object in the collection.
The order in which System.Web.UI.WebControls.MenuItemBinding objects appear in the collection has no effect on how those objects are applied to the menu items in a System.Web.UI.WebControls.Menu control.
If the menu item binding is not in the collection, the method returns -1.
If the specified menu item binding appears multiple times in the collection, the index of the first occurrence is returned.