---
title: "System::Buffers::SearchValues::Contains method"
url: "https://reference.aspose.com/pdf/cpp/system.buffers/searchvalues/contains/"
product: "Aspose.PDF for C++ API Reference"
description: "System::Buffers::SearchValues::Contains method. Determines whether the specified value is contained in the set in C++."
---

## SearchValues::Contains method


Determines whether the specified value is contained in the set.

```cpp
bool System::Buffers::SearchValues<T>::Contains(T value) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | T | The value to look for. |

### ReturnValue

True if the value is present, false otherwise.

## See Also

* Class [SearchValues](../)
* Namespace [System::Buffers](../../)
* Library [Aspose.PDF for C++](../../../)
