---
Product: Aspose.Cells
Platform: cpp
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/cpp/filtervaluecollection
---

# FilterValueCollection

## Overview

`FilterValueCollection` is a class in Aspose.Cells FOSS for C++.

Represents a collection of filter value objects.

This class declares 7 methods for FilterValueCollection objects in C++ programs.
Available methods include: `Add`, `Clear`, `GetCount`, `GetEnumerator`, `RemoveAt`, `begin`, `end`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `GetCount()` → `int` | Gets the number of items. |
| `Add(value: std::string_view)` → `int` | Adds the specified item. |
| `RemoveAt(index: int)` | Removes the specified item. |
| `Clear()` | Clears the current state. |
| `GetEnumerator()` → `std::vector<std::string>` | Returns a snapshot vector that iterates through the collection. |
| `begin()` → `std::vector<std::string>::const_iterator` | Returns a const iterator to the beginning. |
| `end()` → `std::vector<std::string>::const_iterator` | Returns a const iterator to the end. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)