Edit

Share via


PivotTable.DataFields[Object] Property

Definition

Returns an object that represents either a single PivotTable field (a PivotField object) or a collection of all the fields (a PivotFields object) that are currently shown as data fields. Read-only.

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

Parameters

Index
Object

Optional Object. The field name or number (can be an array to specify more than one field).

Property Value

Applies to