HeaderListRemove(HeaderId) Method

Remove the first occurrence of the specified header field.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
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, .

Remarks

Removes the first occurrence of the specified header field, if any exist.

Exceptions

ArgumentOutOfRangeException id is is not a valid HeaderId.

See Also