## GridPivotFieldCollection.Add method

Adds a PivotField Object to the specific type PivotFields.

```csharp
public int Add(GridPivotField pivotField)
```

| Parameter | Type | Description |
| --- | --- | --- |
| pivotField | GridPivotField | a PivotField Object. |

### Return Value

the index of the PivotField Object in this PivotFields.

### See Also

* class [GridPivotField](../../gridpivotfield/)
* class [GridPivotFieldCollection](../)
* namespace [Aspose.Cells.GridWeb.Data](../../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../../)


