Appends a System.Web.UI.WebControls.ListItem to the end of the collection that represents the specified string.
- item
- A string that represents the item to add to the end of the collection.
Use the ListItemCollection.Add(string) method to append a System.Web.UI.WebControls.ListItem to the end of the collection. This implementation of the method creates a System.Web.UI.WebControls.ListItem to represent the text specified by the item parameter. This System.Web.UI.WebControls.ListItem is then appended to the collection.