Back to product page

ToString method (HttpHeader)


Returns string expression containing name and value of the header.

Type

A String value

Syntax

  • Basic
object.ToString
The ToString(object) syntax has these parts:
objectAn expression evaluating to an object of type HttpHeader.

Remarks

ToString method will return full line containing both header name and value separated by semicolon - just as it is sent to the server.

Platforms

Windows