TableRowCollection Class
Represents a collection of TableRows.
public sealed class TableRowCollection : ElementCollection<TableRow>, IList, ICollection, IList<TableRow>, ICollection<TableRow>, IEnumerable<TableRow>, IEnumerable
Public NotInheritable Class TableRowCollection
Inherits ElementCollection(Of TableRow)
Implements IList, ICollection, IList(Of TableRow), ICollection(Of TableRow), IEnumerable(Of TableRow), IEnumerable
- Inheritance:
- System.ObjectTableRowCollection
Implements
Remarks
Used as a container for a Rows property.
Methods
Remove(TableRow)
Removes the first occurrence of a specific TableRow from the TableRowCollection.
Parameters
row
- TableRow
The TableRow from the TableRowCollection.
Returns
- System.Boolean
true if row is successfully removed; otherwise, false. This method also returns false if row was not found in the TableRowCollection.
RemoveAt(Int32)
Removes the TableRow at the specified index of the TableRowCollection.
Parameters
index
- System.Int32
The zero-based index of the TableRow to remove.
Inherited Properties
Content | Gets the content of the current ElementCollection. (Inherited from ElementCollection) |
SupportedElementTypes | Gets a sequence of ElementTypes that can be contained in this collection. (Inherited from ElementCollection) |
Inherited Methods
CopyTo(Element[], System.Int32) | Copies the elements of the ElementCollection to an System.Array, starting at a particular System.Array index. (Inherited from ElementCollection) |
IndexOf(Element) | Determines the index of a specific Element in the ElementCollection. (Inherited from ElementCollection) |