System.Web.UI.HtmlControls.HtmlTableRowCollection.RemoveAt Method

Removes the System.Web.UI.HtmlControls.HtmlTableRow object at the specified index from the System.Web.UI.HtmlControls.HtmlTableRowCollection collection.

Syntax

public void RemoveAt (int index)

Parameters

index
The index of the System.Web.UI.HtmlControls.HtmlTableRow to remove from the System.Web.UI.HtmlControls.HtmlTableRowCollection.

Remarks

Use this method to remove the System.Web.UI.HtmlControls.HtmlTableRow object at the specified index from the System.Web.UI.HtmlControls.HtmlTableRowCollection collection. The index number is zero-based. Therefore, the first item in the collection has an index value of 0.

Note:

If you specify an index that is outside the range of index values, an exception is raised.

Requirements

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