## NameValueCollection::Contains method


Checks if item is present in collection.

```cpp
virtual bool System::Collections::Specialized::NameValueCollection::Contains(const String &item) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| item | const String\& | to look for. |

### ReturnValue

True if item is present, false otherwise.

## See Also

* Class [String](../../../system/string/)
* Class [NameValueCollection](../)
* Namespace [System::Collections::Specialized](../../)
* Library [Aspose.PDF for C++](../../../)
