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

## GridPivotFieldCollection.Clear method

Clears all PivotFields.

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

### See Also

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


