Click or drag to resize
MimeKit

BodyPartTextAccept Method

Dispatches to the specific visit method for this MIME body part.

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

Parameters

visitor  BodyPartVisitor
The visitor.
Exceptions
ExceptionCondition
ArgumentNullExceptionvisitor is null.
Remarks
This default implementation for BodyPart nodes calls VisitBodyPart(BodyPart). Override this method to call into a more specific method on a derived visitor class of the BodyPartVisitor class. However, it should still support unknown visitors by calling VisitBodyPart(BodyPart).
See Also