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

# AutoFilterCustomFilterCollection

## Overview

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

Represents a collection of auto filter custom filter objects.

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

## Methods

| Signature | Description |
|-----------|-------------|
| `GetMatchAll()` → `bool` | Gets or sets a value indicating whether match all. |
| `SetMatchAll(value: bool)` | Sets the match all value. |
| `GetCount()` → `int` | Gets the number of items. |
| `Add(operatorType: FilterOperatorType, value: std::string_view)` → `int` | Adds the specified item. The operator type. The value. 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<AutoFilterCustomFilter>` | Returns a snapshot vector that iterates through the collection. A vector of custom filters 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/)