[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISlicerCache.Name

Name Property

Name

Gets or sets the name of the slicer cache.

Declaration
string Name { get; set; }
Property Name As String
Examples
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");
slicerCache.Name = "categoryCacheRenamed";
string name = slicerCache.Name;