System.Web.UI.WebControls.ListItemCollection.RemoveAt Method

Removes the System.Web.UI.WebControls.ListItem at the specified index from the collection.

Syntax

public void RemoveAt (int index)

Parameters

index
The index of the System.Web.UI.WebControls.ListItem to remove.

Remarks

Use the ListItemCollection.RemoveAt(int) method to remove the System.Web.UI.WebControls.ListItem at the specified index from the collection.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0