---
title: "GridPivotTableCollection.Clear"
url: "https://reference.aspose.com/cells/net/aspose.cells.griddesktop.data/gridpivottablecollection/clear/"
product: "Aspose.Cells for .NET API Reference"
description: "GridPivotTableCollection method. Clears all PivotTables"
---

## GridPivotTableCollection.Clear method

Clears all PivotTables.

```csharp
public void Clear()
```

### See Also

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


