Removes the System.Web.UI.WebControls.SubMenuStyle object at the specified location.
- index
- The zero-based index location of the System.Web.UI.WebControls.SubMenuStyle object to remove from the collection.
The System.Web.UI.StateManagedCollection.OnRemove(int, object) method is called before the System.Web.UI.WebControls.SubMenuStyle object is removed from the collection, and the System.Web.UI.StateManagedCollection.OnRemoveComplete(int, object) method is called after the object is removed from the System.Web.UI.WebControls.SubMenuStyleCollection collection.