## PivotFieldGroupOptions::SetGroupTypes method


Gets or sets the grouping type for pivot field.

```cpp
void Aspose::Cells::Pivot::PivotFieldGroupOptions::SetGroupTypes(const Vector<PivotGroupByType> &value)
```

## Remarks


The order in this property will be ignored. When specifying multiple group types, base group fields will be inserted in ascending order and show group field to row/column region in descending order (Years → Quarters → Months → Days → Hours → Minutes → Seconds). 
## See Also

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