This documentation is archived and is not being maintained.

SlicerCacheLevels Interface

Represents the collection of hierarchy levels for the OLAP data source that is filtered by a slicer.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

public interface SlicerCacheLevels : IEnumerable

When a slicer is used to filter an OLAP data source, its parent slicer cache can contain multiple hierarchy levels from the data source. Use the SlicerCacheLevels collection of the parent SlicerCache object to access the SlicerCacheLevel objects that represent these hierarchy levels. This collection is not accessible for non-OLAP data sources.