PivotTable.DataFields Property
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.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property DataFields ( _
Index As Object _
) As Object
Get
'Usage
Dim instance As PivotTable
Dim Index As Object
Dim value As Object
value = instance.DataFields(Index)
Object this[
Object Index
] { get; }
Parameters
Index
Type: System.ObjectOptional Object. The field name or number (can be an array to specify more than one field).
Property Value
Type: System.Object