SlicerCache.SlicerCacheLevels Property
Gets the collection of SlicerCacheLevel objects that represent the levels of an OLAP hierarchy on which the specified slicer cache is based.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property SlicerCacheLevels As SlicerCacheLevels
Get
'Usage
Dim instance As SlicerCache
Dim value As SlicerCacheLevels
value = instance.SlicerCacheLevels
SlicerCacheLevels SlicerCacheLevels { get; }
Property Value
Type: Microsoft.Office.Interop.Excel.SlicerCacheLevels
The collection of SlicerCacheLevel objects that represent the levels of an OLAP hierarchy on which the specified slicer cache is based.
Remarks
Read-only.
The SlicerCacheLevels property applies only to slicers that filter OLAP data sources (SlicerCache.OLAP = true). Attempting to access this property from non-OLAP slicers will generate a run-time error.