Click or drag to resize
MimeKit

MessagePartAccept Method

Dispatches to the specific visit method for this MIME entity.

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

Parameters

visitor
Type: MimeKitMimeVisitor
The visitor.
Exceptions
ExceptionCondition
ArgumentNullExceptionvisitor is null.
ObjectDisposedException The MessagePart has been disposed.
Remarks
This default implementation for MessagePart nodes calls VisitMessagePart(MessagePart). 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 VisitMessagePart(MessagePart).
See Also