## GridPivotItemCollection.Add method

Adds a PivotItem Object to the specific type PivotItems.

```csharp
public int Add(GridPivotItem item)
```

| Parameter | Type | Description |
| --- | --- | --- |
| item | GridPivotItem | a GridPivotItem Object. |

### Return Value

the index of the PivotItem Object in this PivotItems.

### See Also

* class [GridPivotItem](../../gridpivotitem/)
* class [GridPivotItemCollection](../)
* namespace [Aspose.Cells.GridWeb.Data](../../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../../)


