Edit

Share via


PivotItemList.Item(Object) Method

Definition

Returns a single object from a collection.

public:
 Microsoft::Office::Interop::Excel::PivotItem ^ Item(System::Object ^ Index);
public Microsoft.Office.Interop.Excel.PivotItem Item (object Index);
Public Function Item (Index As Object) As PivotItem

Parameters

Index
Object

Required Object. The name or index number for the object.

Returns

Remarks

The text name of the object is the value of the Name and Value properties. For an Online Analytical Processing (OLAP) data source, the value is equal to the value of the SourceName property. For other data sources, the value is equal to the value of the Caption property.

Applies to