System::Net::Http::Headers::HttpHeaders::TryGetValues method

HttpHeaders::TryGetValues method

Tries to get corresponding values by the specified name.

bool System::Net::Http::Headers::HttpHeaders::TryGetValues(String name, System::SharedPtr<Collections::Generic::IEnumerable<String>> &values)
ParameterTypeDescription
nameStringThe header name.
valuesSystem::SharedPtr<Collections::Generic::IEnumerable<String>>&An instance where corresponding values will be assigned.

ReturnValue

True when the header values are found by the specified name, otherwise false.

See Also