HtmlTableCellCollection.Remove Method (HtmlTableCell)

 

Removes the specified HtmlTableCell object from the HtmlTableCellCollection collection.

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

member Remove : 
        cell:HtmlTableCell -> unit

Use this method to remove the specified HtmlTableCell object from the HtmlTableCellCollection collection.

System_CAPS_noteNote

If you specify an HtmlTableCell object that does not exist in the HtmlTableCellCollection collection, no item is removed from the collection.

The following code example demonstrates how to use the Remove method to remove the specified cell of a table, represented by an HtmlTableCell object, from the HtmlTableCellCollection collection. This example removes the cells from the first column of the HtmlTable control.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: