HeaderField Property  
 

Gets and sets the current header field name.

Syntax

object.HeaderField [= header ]

Remarks

The HeaderField property returns the name of the current header field. Setting this property causes the control to determine if that header field exists, and if it does, to update the HeaderValue property with it's value. This property can be used to obtain the value of any header in the current message part, and in conjunction with the HeaderValue property, can be used to create new headers.

Data Type

String

See Also

AllHeaders Property, HeaderValue Property, GetHeader Method, SetHeader Method