TheĀ FieldCollection class contains a list of PivotTableField objects. To get a FieldCollection object, use PivotTable.ColumnLabels, PivotTable.DataFields, PivotTable.RowLabels, or PivotTable.PageFields.

 public sealed class FieldCollection
Public NotInheritable Class FieldCollection

Name

Description

Count

Name

Description

Item(Int32)

Item(String)

Name

Description

CreateField