## RemoveAt(int) {#removeat}

Remove the PivotTable at the specified index.

```csharp
public void RemoveAt(int index)
```

| Parameter | Type | Description |
| --- | --- | --- |
| index | Int32 | The zero based index of the element. |

### See Also

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

---

## RemoveAt(int, bool) {#removeat_1}

Deletes the PivotTable at the specified index

```csharp
public void RemoveAt(int index, bool keepData)
```

| Parameter | Type | Description |
| --- | --- | --- |
| index | Int32 | the position index in PivotTable collection |
| keepData | Boolean | Whether to keep the PivotTable data |

### See Also

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


