Click or drag to resize
MimeKit

HeaderListRemove(Header) Method

Remove the specified header.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public bool Remove(
	Header header
)

Parameters

header  Header
The header.

Return Value

Boolean
true if the specified header was removed; otherwise false.

Implements

ICollectionTRemove(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionheader is null.
Remarks
Removes the specified header from the list if it exists.
See Also