[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISlicerCaches.Count

Count Property

Count

Gets the number of slicer caches in this collection.

This property returns the number of ISlicerCache objects in the ISlicerCaches collection associated with a workbook.

Declaration
int Count { get; }
ReadOnly Property Count As Integer
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Category", "Value"},
    {"Beverages", 100},
    {"Produce", 200}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B3"], true);
workbook.SlicerCaches.Add(table, "Category");
int count = workbook.SlicerCaches.Count;