BodyPartMultipartAccept Method

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

Definition

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

Parameters

visitor  BodyPartVisitor
The visitor.

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).

Exceptions

ArgumentNullException visitor is .

See Also