Partager via


SlicerCache Members

Include Protected Members
Include Inherited Members

Represents the current filter state for a slicer and information about which PivotCache or WorkbookConnection the slicer is connected to.

The SlicerCache type exposes the following members.

Properties

  Name Description
Public property Application When used without an object qualifier, this property gets an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property gets an Application object that represents the creator of the specified object.
Public property Creator Gets a 32-bit integer that indicates the application in which this object was created.
Public property CrossFilterType Gets or sets whether a slicer is participating in cross filtering with other slicers that share the same slicer cache, and how cross filtering is displayed.
Public property Index Gets the index of the specified SlicerCache object in the SlicerCaches collection.
Public property Name Gets or sets the name of the slicer cache.
Public property OLAP Gets whether the slicer associated with the specified slicer cache is based on an OLAP data source.
Public property Parent Gets the parent SlicerCaches object for the specified SlicerCache object.
Public property PivotTables Gets a SlicerPivotTables collection that contains information about the PivotTables the slicer cache is currently filtering.
Public property ShowAllItems Gets or sets whether slicers connected to the specified slicer cache display items that have been deleted from in the corresponding PivotCache.
Public property SlicerCacheLevels Gets the collection of SlicerCacheLevel objects that represent the levels of an OLAP hierarchy on which the specified slicer cache is based.
Public property SlicerItems Gets a SlicerItems collection that contains the collection of all items in the slicer cache.
Public property Slicers Gets a Slicers collection that contains the collection of Slicer objects associated with the specified SlicerCache.
Public property SortItems Gets or sets whether the items in the slicer are sorted.
Public property SortUsingCustomLists Gets or sets whether items in the specified slicer cache will be sorted by the custom lists.
Public property SourceName Gets the name of the data source the slicer is connected to.
Public property SourceType Gets the kind of data source the slicer is connected to.
Public property VisibleSlicerItems Gets a SlicerItems collection that contains the collection of all the visible items in the specified slicer cache.
Public property VisibleSlicerItemsList Gets or sets the list of MDX unique names for members at all levels of the hierarchy where manual filtering is applied.
Public property WorkbookConnection Gets a WorkbookConnection object that represents the data connection used by the specified slicer.

Top

Methods

  Name Description
Public method ClearManualFilter Clears the filtering of all slicers associated with the specified slicer cache.
Public method Delete Deletes the specified slicer cache and the slicers associated with it.

Top

See Also

Reference

SlicerCache Interface

Microsoft.Office.Interop.Excel Namespace