## GridPivotTableCollection class

Encapsulates a collection of PivotTable objects.

```csharp
public class GridPivotTableCollection
```

## Properties

| Name | Description |
| --- | --- |
| [Count](../../aspose.cells.griddesktop.data/gridpivottablecollection/count/) { get; } |  |
| [Item](../../aspose.cells.griddesktop.data/gridpivottablecollection/item/) { get; } | Gets the [`GridPivotTable`](../gridpivottable/) element at the specified index. |

## Methods

| Name | Description |
| --- | --- |
| [Add](../../aspose.cells.griddesktop.data/gridpivottablecollection/add/#add_3)(string, string, string) | Adds a new PivotTable cache to a PivotCaches collection. |
| [Add](../../aspose.cells.griddesktop.data/gridpivottablecollection/add/#add_2)(string, GridCellArea, string, string) | Adds a new PivotTable cache to a PivotCaches collection. |
| [Add](../../aspose.cells.griddesktop.data/gridpivottablecollection/add/#add)(Worksheet, GridCellArea, string, string) | Adds a new PivotTable cache to a PivotCaches collection. |
| [Add](../../aspose.cells.griddesktop.data/gridpivottablecollection/add/#add_1)(string, GridCellArea, int, int, string) | Adds a new PivotTable cache to a PivotCaches collection. |
| [Clear](../../aspose.cells.griddesktop.data/gridpivottablecollection/clear/)() | Clears all PivotTables. |
| [RemoveAt](../../aspose.cells.griddesktop.data/gridpivottablecollection/removeat/#removeat)(int) | Remove the PivotTable at the specified index. |
| [RemoveAt](../../aspose.cells.griddesktop.data/gridpivottablecollection/removeat/#removeat_1)(int, bool) | Deletes the PivotTable at the specified index |

### See Also

* namespace [Aspose.Cells.GridDesktop.Data](../../aspose.cells.griddesktop.data/)
* assembly [Aspose.Cells.GridDesktop](../../)


