Export (0) Print
Expand All

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 int Capacity { get; set; }

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft