PivotField.ParentItems[Object] Property

Definition

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.

public:
 property System::Object ^ ParentItems[System::Object ^] { System::Object ^ get(System::Object ^ Index); };
public object ParentItems[object Index] { get; }
Public ReadOnly Property ParentItems(Optional Index As Object) As Object

Parameters

Index
Object

Optional Object. The number or name of the item to be returned (can be an array to specify more than one item).

Property Value

Remarks

This property isn’t available for OLAP data sources.

Applies to