SlicerCacheLevels 属性 (Excel) SlicerCacheSlicerCache.SlicerCacheLevels property (Excel)

返回**SlicerCacheLevel** 对象的集合, 这些对象代表指定的切片器缓存所基于的 OLAP 层次结构的级别。Returns the collection of SlicerCacheLevel objects that represent the levels of an OLAP hierarchy on which the specified slicer cache is based. 此为只读属性。Read-only.



_表达式_一个代表**SlicerCache** 对象的变量。expression A variable that represents a SlicerCache object.


SlicerCacheLevels属性仅适用于筛选 OLAP 数据源 (SlicerCache的切片器。OLAP = True)。The SlicerCacheLevels property applies only to slicers that filter OLAP data sources (SlicerCache.OLAP = True). 试图从非 OLAP 切片器访问此属性将生成运行时错误。Attempting to access this property from non-OLAP slicers will generate a run-time error.

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.