[]
Gets the ISlicers collection associated with this ISlicerCache.
The returned collection contains the ISlicer objects that use this slicer cache.
ISlicers Slicers { get; }
ReadOnly Property Slicers As ISlicers
object[,] sourceData = {{"Category"}, {"Fruit"}, {"Vegetables"}};
worksheet.Range["A1:A3"].Value = sourceData;
ITable table = worksheet.Tables.Add(worksheet.Range["A1:A3"], true);
ISlicerCache slicerCache = workbook.SlicerCaches.Add(table, "Category", "categoryCache");
ISlicers slicers = slicerCache.Slicers;
slicers.Add(worksheet, "categorySlicer", "Category", 20, 20, 120, 160);