## NameValueHeaderValue::Find method


Finds the NameValueHeaderValue-class instance in a collection by the specified name.

```cpp
static System::SharedPtr<NameValueHeaderValue> System::Net::Http::Headers::NameValueHeaderValue::Find(System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>> values, String name)
```


| Parameter | Type | Description |
| --- | --- | --- |
| values | System::SharedPtr\<ObjectCollection\<System::SharedPtr\<NameValueHeaderValue\>\>\> | The collection of the NameValueHeaderValue-class instances. |
| name | String | The name to look for. |

### ReturnValue

The NameValueHeaderValue-class instance when it is found, otherwise nullptr.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [NameValueHeaderValue](../)
* Class [ObjectCollection](../../objectcollection/)
* Class [String](../../../system/string/)
* Class [NameValueHeaderValue](../)
* Namespace [System::Net::Http::Headers](../../)
* Library [Aspose.PUB for C++](../../../)
