Click or drag to resize
MimeKit

HeaderListRemove(String) 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(
	string field
)

Parameters

field  String
The name of the header field.

Return Value

Boolean

Field Value

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

Field Value

Boolean
false.
Exceptions
ExceptionCondition
ArgumentNullExceptionfield is null.
Remarks
Removes the first occurrence of the specified header field, if any exist.
See Also