## PivotTableCollection::RemoveAt(int32_t) method


Deletes the [PivotTable](../../pivottable/) at the specified index and delete the [PivotTable](../../pivottable/) data.

```cpp
void Aspose::Cells::Pivot::PivotTableCollection::RemoveAt(int32_t index)
```


| Parameter | Type | Description |
| --- | --- | --- |
| index | int32_t | the position index in [PivotTable](../../pivottable/) collection |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [PivotTableCollection](../)
* Namespace [Aspose::Cells::Pivot](../../)
* Library [Aspose.Cells for C++](../../../)
## PivotTableCollection::RemoveAt(int32_t, bool) method


Deletes the [PivotTable](../../pivottable/) at the specified index.

```cpp
void Aspose::Cells::Pivot::PivotTableCollection::RemoveAt(int32_t index, bool keepData)
```


| Parameter | Type | Description |
| --- | --- | --- |
| index | int32_t | the position index in [PivotTable](../../pivottable/) collection |
| keepData | bool | Whether to keep the [PivotTable](../../pivottable/) data |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [PivotTableCollection](../)
* Namespace [Aspose::Cells::Pivot](../../)
* Library [Aspose.Cells for C++](../../../)
