HeaderSetClear Method

Clear the set of headers.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public void Clear()

Implements

ICollectionTClear

Remarks

Clears the set of headers.

Exceptions

InvalidOperationException The operation is invalid because the HeaderSet is read-only.

See Also