System.Web.UI.HtmlControls.HtmlTableRowCollection.Clear Method

Removes all System.Web.UI.HtmlControls.HtmlTableRow objects from the System.Web.UI.HtmlControls.HtmlTableRowCollection collection.

Syntax

public void Clear ()

Remarks

Use this method to remove all System.Web.UI.HtmlControls.HtmlTableRow objects from the System.Web.UI.HtmlControls.HtmlTableRowCollection collection and reset the HtmlTableRowCollection.Count property to 0.

Requirements

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