Partager via


PivotField.ParentField Property

Returns a PivotField object that represents the PivotTable field that’s the group parent of the specified object. The field must be grouped and must have a parent field. Read-only.

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

Syntax

'Declaration
ReadOnly Property ParentField As PivotField
    Get
'Usage
Dim instance As PivotField
Dim value As PivotField

value = instance.ParentField
PivotField ParentField { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.PivotField

Remarks

This property isn’t available for OLAP data sources.

See Also

Reference

PivotField Interface

PivotField Members

Microsoft.Office.Interop.Excel Namespace