System::Net::Http::Headers::NameValueHeaderValue::Find method

NameValueHeaderValue::Find method

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

static System::SharedPtr<NameValueHeaderValue> System::Net::Http::Headers::NameValueHeaderValue::Find(System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>> values, String name)
ParameterTypeDescription
valuesSystem::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>>The collection of the NameValueHeaderValue-class instances.
nameStringThe name to look for.

ReturnValue

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

See Also