Click or drag to resize
MimeKit

MimeEntityAccept Method

Dispatches to the specific visit method for this MIME entity.

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

Parameters

visitor
Type: MimeKitMimeVisitor
The visitor.
Exceptions
ExceptionCondition
ArgumentNullExceptionvisitor is null.
Remarks
This default implementation for MimeEntity nodes calls VisitMimeEntity(MimeEntity). 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 VisitMimeEntity(MimeEntity).
See Also