HtmlTableRowCollection Class
A collection of HtmlTableRow objects that represent the rows of an HtmlTable control. This class cannot be inherited.
Assembly: System.Web (in System.Web.dll)
The HtmlTableRowCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of HtmlTableRow objects in the HtmlTableRowCollection collection. |
![]() | IsReadOnly | Gets a value indicating whether the HtmlTableRowCollection collection is read-only. |
![]() | IsSynchronized | Gets a value indicating whether access to the HtmlTableRowCollection collection is synchronized (thread safe). |
![]() | Item | Gets the HtmlTableRow object at the specified index from the HtmlTableRowCollection collection. |
![]() | SyncRoot | Gets the object that can be used to synchronize access to the HtmlTableRowCollection collection. |
| Name | Description | |
|---|---|---|
![]() | Add | Appends the specified HtmlTableRow object to the end of the HtmlTableRowCollection collection. |
![]() | Clear | Removes all HtmlTableRow objects from the HtmlTableRowCollection collection. |
![]() | CopyTo | Copies the items from the HtmlTableRowCollection collection to the specified System::Array object, starting at the specified index in the array. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator | Returns an System.Collections::IEnumerator-implemented object that contains all HtmlTableRow objects in the HtmlTableRowCollection collection. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Insert | Adds an HtmlTableRow object to the specified location in the collection. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove | Removes the specified HtmlTableRow object from the HtmlTableRowCollection collection. |
![]() | RemoveAt | Removes the HtmlTableRow object at the specified index from the HtmlTableRowCollection collection. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
![]() | AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
![]() | Cast<TResult> | Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
![]() | OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
Use the HtmlTableRowCollection class to programmatically manage a collection of HtmlTableRow objects that represent the rows in an HtmlTable control. This class is commonly used to add, remove, or modify the contents of a row in an HtmlTable control.
Note |
|---|
An HtmlTable control contains a Rows property that represents a collection of HtmlTableRow objects. Each HtmlTableRow represents an individual row in the table. An HtmlTableRow contains a Cells property that represents a collection of HtmlTableCell objects. These objects, in turn, represent the individual cells of the table. To retrieve an individual cell, first get the HtmlTableRow object, representing the row containing the cell, from the Rows collection of the HtmlTable control. You can then get the HtmlTableCell object, representing the cell in the row, from the Cells collection of the HtmlTableRow. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.




Note