ListItemCollection::Capacity Property

 

Gets or sets the maximum number of items that the ListItemCollection can store.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
property int Capacity {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The maximum number of items that the ListItemCollection can store.

Use the Capacity property to specify or determine the maximum number of items that the ListItemCollection can store.

.NET Framework
Available since 1.1
Return to top
Show: