Creates a System.Web.UI.WebControls.ListItem from the specified text.
- text
- a string
A System.Web.UI.WebControls.ListItem that represents the text specified by the s parameter.
Use the ListItem.FromString(string) static method to create a System.Web.UI.WebControls.ListItem from the specified text. This method sets the ListItem.Text property of the System.Web.UI.WebControls.ListItem to the text specified by the s parameter.