MailKit Documentation
MailKit Documentation
API Reference
MailKit
HeaderSet Class
HeaderSet Methods
Remove Method
Remove(HeaderId) Method
Remove(String) Method
Header
Set
Remove(Header
Id) Method
Remove the specified header.
Namespace:
MailKit
Assembly:
MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
bool
Remove
(
HeaderId
header
)
Parameters
header
HeaderId
The header.
Return Value
Boolean
true
if the specified header was removed; otherwise
false
.
Exceptions
Exception
Condition
ArgumentOutOfRangeException
header
is not a valid
HeaderId
.
InvalidOperationException
The operation is invalid because the
HeaderSet
is read-only.
Remarks
Removes the specified header if it exists.
See Also
Reference
HeaderSet Class
Remove Overload
MailKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast