## PivotFieldCollection::AddByBaseIndex method


Adds a [PivotField](../../pivotfield/)[Object](../../../aspose.cells/object/) to the specific type PivotFields.

```cpp
int32_t Aspose::Cells::Pivot::PivotFieldCollection::AddByBaseIndex(int32_t baseFieldIndex)
```


| Parameter | Type | Description |
| --- | --- | --- |
| baseFieldIndex | int32_t | field index in the base PivotFields. |

## ReturnValue

the index of the [PivotField](../../pivotfield/)[Object](../../../aspose.cells/object/) in this PivotFields.

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [PivotFieldCollection](../)
* Namespace [Aspose::Cells::Pivot](../../)
* Library [Aspose.Cells for C++](../../../)
