TableCellCollection::Remove Method (TableCell^)

 

Removes the specified TableCell from the TableCellCollection.

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

public:
void Remove(
	TableCell^ cell
)

Parameters

cell
Type: System.Web.UI.WebControls::TableCell^

The TableCell to remove from the TableCellCollection.

Use this method to remove the specified TableCell from a TableCellCollection.

The following example demonstrates how use the Remove method to remove the center column from the table. Note that in the example, the Cells property of the TableRow is an instance of the TableCellCollection class.

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

.NET Framework
Available since 1.1
Return to top
Show: