MailKit Documentation
MailKit Documentation
API Reference
MimeKit
HeaderList Class
HeaderList Methods
Remove Method
Remove(Header) Method
Remove(HeaderId) Method
Remove(String) Method
Header
List
Remove(Header) Method
Remove the specified header.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
Copy
public
bool
Remove
(
Header
header
)
Parameters
header
Header
The header.
Return Value
Boolean
if the specified header was removed; otherwise,
.
Implements
ICollection
T
Remove(T)
Exceptions
Exception
Condition
ArgumentNullException
header
is
.
Remarks
Removes the specified header from the list if it exists.
See Also
Reference
HeaderList Class
Remove Overload
MimeKit Namespace
Copyright © 2013-2025 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast