Version

GetParentCell Method

Gets the parent cell.
Syntax
'Declaration
 
Public Overridable Function GetParentCell( _
   ByVal headerCell As PivotHeaderCell _
) As PivotHeaderCell
public virtual PivotHeaderCell GetParentCell( 
   PivotHeaderCell headerCell
)

Parameters

headerCell
The header cell.

Return Value

the parent cell or null
Exceptions
ExceptionDescription
System.ArgumentNullExceptionRaises when the PivotHeaderCell is null
Remarks
This method serach for parent cell only in hierarchy where PivotHeaderCell exist. It does not make cross hierarchy serach.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also