## PivotField::SetCurrentPageItemText(const U16String\&) method


Gets the display text of the current page item for this pivot field (page field only).

```cpp
void Aspose::Cells::Pivot::PivotField::SetCurrentPageItemText(const U16String &value)
```

## Remarks


Returns "(All)" when CurrentPageItem equals PivotItem.AllPageItemsIndex. For other values, returns the string representation of the item index. 
## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [U16String](../../../aspose.cells/u16string/)
* Class [PivotField](../)
* Namespace [Aspose::Cells::Pivot](../../)
* Library [Aspose.Cells for C++](../../../)
## PivotField::SetCurrentPageItemText(const char16_t*) method


Gets the display text of the current page item for this pivot field (page field only).

```cpp
void Aspose::Cells::Pivot::PivotField::SetCurrentPageItemText(const char16_t *value)
```

## Remarks


Returns "(All)" when CurrentPageItem equals PivotItem.AllPageItemsIndex. For other values, returns the string representation of the item index. 
## See Also

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