PivotField.ParentItems Property
Returns an object that represents either a single PivotTable item (a PivotItem object) or a collection of all the items (a PivotItems object) that are group parents in the specified field. The specified field must be a group parent of another field. Read-only.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property ParentItems ( _
Index As Object _
) As Object
Get
'Usage
Dim instance As PivotField
Dim Index As Object
Dim value As Object
value = instance.ParentItems(Index)
Object this[
Object Index
] { get; }
Parameters
Index
Type: System.ObjectOptional Object. The number or name of the item to be returned (can be an array to specify more than one item).
Property Value
Type: System.Object
Remarks
This property isn’t available for OLAP data sources.