[]
Represents the collection of all ITableRow objects in a specified ITable.
Each ITableRow in this collection represents a data row in the table. Use this interface to access, count, add, and delete table rows.
public interface ITableRows : IEnumerable
Public Interface ITableRows
Inherits IEnumerable
worksheet.Range["A1:B3"].Value = new object[,] {
{"Name", "Value"},
{"A", 100},
{"B", 200}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B3"], true);
ITableRows rows = table.Rows;
int count = rows.Count;
| Name | Description |
|---|---|
| Count | Gets the number of ITableRow objects in the collection. Use this property to determine how many data rows are currently defined in a table. |
| this[int] | Gets the ITableRow object at the specified index. |
| Name | Description |
|---|---|
| Add(int) | Adds a new row to the table and returns the newly added ITableRow object. |
| Add(int, int) | Adds one or more rows to the table at the specified relative position.
The new rows are inserted at the specified zero-based relative position in the table
data rows. If |
| Delete(int, int) | Deletes one or more rows from the table.
The |