---
title: "Aspose::Cells::Slicers::Slicer::GetSlicerCache method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.slicers/slicer/getslicercache/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Slicers::Slicer::GetSlicerCache method. Returns the SlicerCache object associated with the slicer. Read-only in C++."
---

## Slicer::GetSlicerCache method


Returns the [SlicerCache](../../slicercache/) object associated with the slicer. Read-only.

```cpp
SlicerCache Aspose::Cells::Slicers::Slicer::GetSlicerCache()
```


## Examples


```cpp
SlicerCache slicerCache = slicer.GetSlicerCache();
```

## See Also

* Class [SlicerCache](../../slicercache/)
* Class [Slicer](../)
* Namespace [Aspose::Cells::Slicers](../../)
* Library [Aspose.Cells for C++](../../../)
