編輯

共用方式為


SlicerItems Interface

Definition

Represents the collection of SlicerItem objects contained in a SlicerCache or SlicerCacheLevel object.

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

Remarks

To access the SlicerItems collection that represents the items in a slicer based on data in the workbook or non-OLAP external data, use the SlicerItems property of the SlicerCache object that is associated with the slicer.

To access the SlicerItems collection that represents the items in a slicer based on OLAP data connection, use the SlicerItems property of the SlicerCacheLevel object that represents a level of the hierarchy.

Properties

_Default[Object]

Reserved for internal use.

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 objects in the collection.

Creator

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

Item[Object]

Gets a SlicerItem object from a collection.

Parent

Gets the parent SlicerCache object for the specified object.

Methods

GetEnumerator()

Applies to