[]
Gets the number of ISlicerItem objects in this collection.
This collection contains the slicer items associated with a ISlicerCache.
int Count { get; }
ReadOnly Property Count As Integer
worksheet.Range["A1:A4"].Value = new object[,] {
{"Category"},
{"Fruit"},
{"Vegetables"},
{"Fruit"}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:A4"], true);
ISlicerItems slicerItems = workbook.SlicerCaches.Add(table, "Category", "categoryCache").SlicerItems;
int count = slicerItems.Count;