
## PivotItemCollection class

Represents all the [`PivotItem`](/cells/python-net/aspose.cells.pivot/pivotitem) objects in the PivotField.



The PivotItemCollection type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [count](/cells/python-net/aspose.cells.pivot/pivotitemcollection/count) | Gets the count of the pivot items. |



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


### Methods
| Method | Description |
| :- | :- |
| [`get(self, item_value)`](/cells/python-net/aspose.cells.pivot/pivotitemcollection/get/#system.string) | Gets the [`PivotItem`](/cells/python-net/aspose.cells.pivot/pivotitem) by the specific name. |
| [`changeitems_order(self, source_index, dest_index)`](/cells/python-net/aspose.cells.pivot/pivotitemcollection/changeitems_order/#int-int) | Directly changes the orders of the two items. |
| [`swap_item(self, index1, index2)`](/cells/python-net/aspose.cells.pivot/pivotitemcollection/swap_item/#int-int) | Directly swap two items. |



### See Also
* module [`aspose.cells.pivot`](..)
* class [`PivotItem`](/cells/python-net/aspose.cells.pivot/pivotitem)
