asp.net.ph

ListItem Constructor ( String )

System.Web.UI.WebControls Namespace   ListItem Class


Initializes a new instance of the ListItem class with the specified text data.

[ VB ]
Overloads Public Sub New ( _
   ByVal text As String _
)

[ C# ]
public ListItem (
   string text
);

[ C++ ]
public: ListItem (
   String* text
);

[ JScript ]
public function ListItem (
   text : String
);

Parameters

text
The text to display for the ListItem.

Remarks

Use this constructor to initialize a new instance of the ListItem class using the specified text.

The following table shows initial property values for an instance of ListItem.

Property Initial Value
Text The value of the text parameter.

See Also

ListItem Members   ListItem Constructor Overload List Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note