Header ListRemove(Header Id) Method
Remove the first occurrence of the specified header field.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the first occurrence of the specified header was removed; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool Remove(
HeaderId id
)Parameters
- id HeaderId
- The header identifier.
Return Value
Booleanif the first occurrence of the specified header was removed; otherwise, .
Remarks
Removes the first occurrence of the specified header field, if any exist.
Exceptions
| ArgumentOutOfRangeException | id is is not a valid HeaderId. |