[]
Gets the number of ITableColumn objects in the collection.
Use this property to determine how many columns are currently defined in a table.
int Count { get; }
ReadOnly Property Count As Integer
worksheet.Range["A1:C3"].Value = new object[,] {
{"Product", "Q1", "Q2"},
{"Apple", 100, 120},
{"Pear", 80, 95}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:C3"], true);
int count = table.Columns.Count;