System.Web.UI.HtmlControls.HtmlTableCellCollection.RemoveAt Method

Removes the System.Web.UI.HtmlControls.HtmlTableCell object at the specified index from the System.Web.UI.HtmlControls.HtmlTableCellCollection collection.

Syntax

public void RemoveAt (int index)

Parameters

index
The index of the System.Web.UI.HtmlControls.HtmlTableCell to remove from the System.Web.UI.HtmlControls.HtmlTableCellCollection.

Remarks

Use this method to remove the System.Web.UI.HtmlControls.HtmlTableCell object at the specified index from an System.Web.UI.HtmlControls.HtmlTableCellCollection 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