Appends the specified System.Web.UI.WebControls.MenuItemBinding object to the end of the collection.
- binding
- The System.Web.UI.WebControls.MenuItemBinding to append to the end of the collection.
The index at which the System.Web.UI.WebControls.MenuItemBinding was inserted in the collection.
Use the MenuItemBindingCollection.Add(MenuItemBinding) method to append the specified System.Web.UI.WebControls.MenuItemBinding object to the end of the collection.
You can add null values and duplicate System.Web.UI.WebControls.MenuItemBinding objects to the collection.
As an alternative, you can insert a System.Web.UI.WebControls.MenuItemBinding object in the collection at a specific index by using the MenuItemBindingCollection.Insert(int, MenuItemBinding) method.
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.