SlicerCache.SlicerCacheLevels Property

Definition

Gets the collection of SlicerCacheLevel objects that represent the levels of an OLAP hierarchy on which the specified slicer cache is based.

public:
 property Microsoft::Office::Interop::Excel::SlicerCacheLevels ^ SlicerCacheLevels { Microsoft::Office::Interop::Excel::SlicerCacheLevels ^ get(); };
public Microsoft.Office.Interop.Excel.SlicerCacheLevels SlicerCacheLevels { get; }
Public ReadOnly Property SlicerCacheLevels As SlicerCacheLevels

Property Value

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.

Applies to