
## PivotFieldCollection class

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



The PivotFieldCollection type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [type](/cells/python-net/aspose.cells.pivot/pivotfieldcollection/type) | Gets the PivotFields type. |
| [count](/cells/python-net/aspose.cells.pivot/pivotfieldcollection/count) | Gets the count of the pivotFields. |



Gets the PivotField Object at the specific index.
### Indexer
| Name | Description |
| :- | :- |
| [index] |  |


### Methods
| Method | Description |
| :- | :- |
| [`get(self, name)`](/cells/python-net/aspose.cells.pivot/pivotfieldcollection/get/#system.string) | Gets the PivotField Object of the specific name. |
| [`add_by_base_index(self, base_field_index)`](/cells/python-net/aspose.cells.pivot/pivotfieldcollection/add_by_base_index/#int) | Adds a PivotField Object to the specific type PivotFields. |
| [`add(self, pivot_field)`](/cells/python-net/aspose.cells.pivot/pivotfieldcollection/add/#aspose.cells.pivot.pivotfield) | Adds a PivotField Object to the specific type PivotFields. |
| [`clear(self)`](/cells/python-net/aspose.cells.pivot/pivotfieldcollection/clear/#) | clear all fields of PivotFieldCollection |
| [`move(self, curr_pos, dest_pos)`](/cells/python-net/aspose.cells.pivot/pivotfieldcollection/move/#int-int) | Moves the PivotField from current position to destination position |



### See Also
* module [`aspose.cells.pivot`](..)
