[]
Gets the number of ITableRow objects in the collection.
Use this property to determine how many data rows are currently defined in a table.
int Count { get; }
ReadOnly Property Count As Integer
worksheet.Range["A1:B3"].Value = new object[,] {
{"Name", "Value"},
{"A", 100},
{"B", 200}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B3"], true);
int count = table.Rows.Count;