Click or drag to resize
MimeKit

MimeMessageAccept Method

Dispatches to the specific visit method for this MIME message.

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

Parameters

visitor  MimeVisitor
The visitor.

Implements

IMimeMessageAccept(MimeVisitor)
Exceptions
ExceptionCondition
ArgumentNullExceptionvisitor is null.
Remarks
This default implementation for MimeMessage nodes calls VisitMimeMessage(MimeMessage). 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 VisitMimeMessage(MimeMessage).
See Also