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.10.0
Syntax
C#
public bool Remove(
	HeaderId id
)

Parameters

id  HeaderId
The header identifier.

Return Value

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