GetHeaderString()

HttpHeaders::GetHeaderString(String) method

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

String System::Net::Http::Headers::HttpHeaders::GetHeaderString(String headerName)

Arguments

ParameterTypeDescription
headerNameStringThe header name.

Return Value

A string representation of values by the specified header name.

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)

Arguments

ParameterTypeDescription
headerNameStringThe header name.
excludeSystem::SharedPtr<Object>The header value to exclude.

Return Value

A string representation of values by the specified header name.

See Also