[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITables.Count

Count Property

Count

Gets the number of ITable objects in this collection.

Use this property to get the number of tables defined on the worksheet.

Declaration
int Count { get; }
ReadOnly Property Count As Integer
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Name", "Value"},
    {"A", 100},
    {"B", 200}
};
ITables tables = worksheet.Tables;
tables.Add(worksheet.Range["A1:B3"], true);
int count = tables.Count;