This documentation is archived and is not being maintained.

ListItemCollection.RemoveAt Method

Removes the ListItem at the specified index from the collection.

[Visual Basic]
Public Overridable Sub RemoveAt( _
   ByVal index As Integer _
) Implements IList.RemoveAt
[C#]
public virtual void RemoveAt(
 int index
);
[C++]
public: virtual void RemoveAt(
 int index
);
[JScript]
public function RemoveAt(
   index : int
);

Parameters

index
The index of the ListItem to remove.

Implements

IList.RemoveAt

Remarks

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

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

ListItemCollection Class | ListItemCollection Members | System.Web.UI.WebControls Namespace | ListItem | Add | AddRange | Insert | Remove | Clear

Show: