Click or drag to resize
MimeKit

MessagePartialAccept Method

Dispatches to the specific visit method for this MIME entity.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public override void Accept(
	MimeVisitor visitor
)

Parameters

visitor  MimeVisitor
The visitor.

Implements

IMimeEntityAccept(MimeVisitor)
IMimeEntityAccept(MimeVisitor)
IMimeEntityAccept(MimeVisitor)
Exceptions
ExceptionCondition
ArgumentNullExceptionvisitor is null.
ObjectDisposedException The MessagePartial has been disposed.
Remarks
This default implementation for MessagePartial nodes calls VisitMessagePartial(MessagePartial). Override this method to call into a more specific method on a derived visitor class of the MimeVisitor class. However, it should still support unknown visitors by calling VisitMessagePartial(MessagePartial).
See Also