Edit

Share via


PivotItems Interface

Definition

A collection of all the PivotItem objects in a PivotTable field. The items are the individual data entries in a field category.

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

Remarks

Use the PivotItems(Object) method to return the PivotItems collection.

Use PivotItems(index), where index is the item index number or name, to return a single PivotItem object.

Properties

Application

Returns an Application object that represents the Microsoft Excel application. Read-only.

Count

Returns the number of objects in the collection. Read-only Integer.

Creator

Returns a 32-bit integer that indicates the application in which this object was created. If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C. Read-only XlCreator.

Parent

Returns the parent object for the specified object. Read-only.

Methods

Add(String)

Creates a new PivotTable item.

GetEnumerator()
Item(Object)

Returns a single object from a collection.

Applies to