Share via


PivotItem.ParentItem Property

Returns a PivotItem object that represents the parent PivotTable item in the parent PivotField object (the field must be grouped so that it has a parent). Read-only.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property ParentItem As PivotItem
    Get
'Usage
Dim instance As PivotItem
Dim value As PivotItem

value = instance.ParentItem
PivotItem ParentItem { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.PivotItem

Remarks

This property isn’t available for OLAP data sources.

See Also

Reference

PivotItem Interface

PivotItem Members

Microsoft.Office.Interop.Excel Namespace