HeaderValue Property  
 

Gets and sets the value of the specified header field.

Syntax

object.HeaderValue [= value ]

Remarks

The HeaderValue property returns the value of the header specified by the HeaderField property. Setting this property updates the specified header value. If the HeaderField property refers to a header field that does not exist, then it is created in the current message part.

Data Type

String

See Also

AllHeaders Property, HeaderField Property, GetHeader Method, SetHeader Method