ListItemCollection Constructor ()
.NET Framework (current version)
Initializes a new instance of the ListItemCollection class.
Assembly: System.Web (in System.Web.dll)
Use this constructor to create and initialize a new instance of the ListItemCollection class using default values.
The following code example demonstrates creating ListItemCollection objects, adding items to the collections, and removing items from the collections. To view this code in a fully working example, see the WebControl class topic.
.NET Framework
Available since 1.1
Available since 1.1
Show: