Delete a header field from the current message part.
Syntax
object.DeleteHeader( HeaderField )
Parameters
- HeaderField
- A string which specifies the header field to delete from the
current message part.
Return Value
A value of zero is returned if the method succeeds.
Otherwise, a non-zero error code is returned which indicates the
cause of the failure.
Remarks
The DeleteHeader method deletes the specified header field
value from the current message part.
See Also
HeaderField Property,
HeaderValue Property,
Part Property,
PartCount Property,
GetHeader Method,
SetHeader Method
|