HtmlTableCellCollection::Remove Method (HtmlTableCell^)
.NET Framework (current version)
Removes the specified HtmlTableCell object from the HtmlTableCellCollection collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- cell
-
Type:
System.Web.UI.HtmlControls::HtmlTableCell^
The HtmlTableCell to remove from the HtmlTableCellCollection.
Use this method to remove the specified HtmlTableCell object from the HtmlTableCellCollection collection.
Note |
|---|
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.
.NET Framework
Available since 1.1
Available since 1.1
Show:
