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

Parameters

field  String
The name of the header field.

Return Value

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