ListItemCollection::RemoveAt Method (Int32)

 

Removes the ListItem at the specified index from the collection.

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

public:
virtual void RemoveAt(
	int index
) sealed

Parameters

index
Type: System::Int32

The index of the ListItem to remove.

Use the RemoveAt method to remove the ListItem at the specified index from the collection.

.NET Framework
Available since 1.1
Return to top
Show: