DeleteHeader Method

Delete a header field from the current message part.

Syntax

object.DeleteHeader( HeaderField )

Remarks

The DeleteHeader method deletes the specified header field value from the current message part.

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 was successful. Otherwise, a non-zero error code is returned which indicates the cause of the failure.

See Also

HeaderField Property, HeaderValue Property, Part Property, PartCount Property, GetHeader Method, SetHeader Method


Copyright © 2008 Catalyst Development Corporation. All rights reserved.