Click or drag to resize
MimeKit

MimeEntityOnHeadersChanged Method

Called when the headers change in some way.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.2.0
Syntax
C#
protected virtual void OnHeadersChanged(
	HeaderListChangedAction action,
	Header header
)

Parameters

action
Type: MimeKitHeaderListChangedAction
The type of change.
header
Type: MimeKitHeader
The header being added, changed or removed.
Remarks

Whenever a header is added, changed, or removed, this method will be called in order to allow custom MimeEntity subclasses to update their state.

Overrides of this method should call the base method so that their superclass may also update its own state.

See Also