Determines whether the specified System.Web.UI.WebControls.MenuItemBinding object is in the collection.
- binding
- The System.Web.UI.WebControls.MenuItemBinding to find.
true if the specified System.Web.UI.WebControls.MenuItemBinding is contained in the collection; otherwise, false.
Use the MenuItemBindingCollection.Contains(MenuItemBinding) method to determine whether a System.Web.UI.WebControls.MenuItemBinding object is contained in the collection. This method is commonly used to test for the existence of a System.Web.UI.WebControls.MenuItemBinding object before performing a task, such as adding or removing a menu item binding from the collection.