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

# FilterColumnCollection

## Overview

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

Represents a collection of filter column objects.

This class declares 7 methods for FilterColumnCollection 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(columnIndex: int)` → `int` | Adds the specified item. The zero-based column index. The zero-based index of the added item. |
| `RemoveAt(index: int)` | Removes the specified item. The zero-based index. |
| `Clear()` | Clears the current state. |
| `GetEnumerator()` → `std::vector<FilterColumn>` | Returns a snapshot vector that iterates through the collection. A vector of filter columns that can be used to iterate through the collection. |
| `begin()` → `Iterator` | Returns an iterator to the beginning. |
| `end()` → `Iterator` | Returns an iterator to the end. |

## See Also

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