ListItemCollection.RemoveAt Method (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes the ListItem at the specified index from the collection.

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

public void RemoveAt(
	int index
)

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: