Click or drag to resize
MimeKit

HeaderListRemove(HeaderId) Method

Remove the first occurrence of the specified header field.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public bool Remove(
	HeaderId id
)

Parameters

id  HeaderId
The header identifier.

Return Value

Boolean

Field Value

Boolean
true if the first occurrence of the specified header was removed; otherwise

Field Value

Boolean
false.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionid is is not a valid HeaderId.
Remarks
Removes the first occurrence of the specified header field, if any exist.
See Also