編輯

共用方式為


SlicerCacheLevels Interface

Definition

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

public interface class SlicerCacheLevels : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000244C5-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface SlicerCacheLevels : System.Collections.IEnumerable
Public Interface SlicerCacheLevels
Implements IEnumerable
Attributes
Implements

Remarks

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.

Properties

_Default[Object]
Application

When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object.

Count

Gets the number of levels in the specified SlicerCacheLevels collection, which represents the number of levels in the associated SlicerCache object.

Creator

Gets a 32-bit integer that indicates the application in which this object was created.

Item[Object]

Returns the specified SlicerCacheLevel object from the collection, or if no level is specified, returns the first SlicerCacheLevel object in the collection.

Parent

Gets the SlicerCache object that is the parent of the specified SlicerCacheLevels object.

Methods

GetEnumerator()

Applies to