[]
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.
int Count { get; }
ReadOnly Property Count As Integer
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;