System::Net::Http::Headers::HttpHeaders::GetHeaderString method

HttpHeaders::GetHeaderString(String) method

Returns a string representation of values by the specified header name.

String System::Net::Http::Headers::HttpHeaders::GetHeaderString(String headerName)
ParameterTypeDescription
headerNameStringThe header name.

ReturnValue

A string representation of values by the specified header name.

See Also

HttpHeaders::GetHeaderString(String, System::SharedPtr<Object>) method

Returns a string representation of values by the specified header name.

String System::Net::Http::Headers::HttpHeaders::GetHeaderString(String headerName, System::SharedPtr<Object> exclude)
ParameterTypeDescription
headerNameStringThe header name.
excludeSystem::SharedPtr<Object>The header value to exclude.

ReturnValue

A string representation of values by the specified header name.

See Also