Header SetClear Method
Clear the set of headers.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public void Clear()Implements
ICollectionTClearRemarks
Clears the set of headers.
Exceptions
| InvalidOperationException | The operation is invalid because the HeaderSet is read-only. |