PivotFieldCollection

PivotFieldCollection class

Represents a collection of all the PivotField objects in the PivotTable’s specific PivotFields type.

public class PivotFieldCollection : IEnumerable

Properties

Name Description
Count { get; } Gets the count of the pivotFields.
Item { get; } Gets the PivotField Object at the specific index. (2 indexers)
Type { get; } Gets the PivotFields type.

Methods

Name Description
Add(PivotField) Adds a PivotField Object to the specific type PivotFields.
AddByBaseIndex(int) Adds a PivotField Object to the specific type PivotFields.
Clear() clear all fields of PivotFieldCollection
GetEnumerator() Gets an enumerator over the elements in this collection in proper sequence.

See Also