## String >::Contains method


Checks if element is present in collection.

```cpp
bool System::Net::Http::Headers::HttpHeaderValueCollection<System::String>::Contains(const String &item) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| item | const String\& | Item to look for. |

### ReturnValue

True if element is present, false otherwise.

## See Also

* Class [String](../../../system/string/)
* Class [String >](../)
* Namespace [System::Net::Http::Headers](../../)
* Library [Aspose.PUB for C++](../../../)
