This documentation is archived and is not being maintained.

ListItemCollection Properties

The properties of the ListItemCollection class are listed here. For a complete list of ListItemCollection class members, see the ListItemCollection Members topic.

Public Properties

public propertyCapacity Gets the or sets the maximum number of items that the ListItemCollection can store.
public propertyCount Gets the number of ListItem objects in the collection.
public propertyIsReadOnly Gets a value indicating whether the ListItemCollection is read-only.
public propertyIsSynchronized Gets a value indicating whether access to the ListItemCollection is synchronized (thread-safe).
public propertyItem Gets a ListItem at the specified index in the collection.

In C#, this property is the indexer for the ListItemCollection class.

public propertySyncRoot Gets the object that can be used to synchronize access to the ListItemCollection.

See Also

ListItemCollection Class | System.Web.UI.WebControls Namespace

Show: