Inserts the specified System.Web.UI.WebControls.ListItem in the collection at the specified index location.
- index
- The location in the collection to insert the System.Web.UI.WebControls.ListItem.
- item
- The System.Web.UI.WebControls.ListItem to add to the collection.
Use the ListItemCollection.Insert(int, string) method to add a System.Web.UI.WebControls.ListItem to the collection at the index specified by the index parameter. This implementation of the method takes the System.Web.UI.WebControls.ListItem specified by the item parameter and inserts it in the collection at the specified index.