MailKit Documentation
MailKit Documentation
API Reference
MimeKit
MultipartAlternative Class
MultipartAlternative Methods
Accept Method
GetTextBody Method
TryGetValue Method
Multipart
Alternative
Accept Method
Dispatches to the specific visit method for this MIME entity.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
override
void
Accept
(
MimeVisitor
visitor
)
Parameters
visitor
MimeVisitor
The visitor.
Implements
IMimeEntity
Accept(MimeVisitor)
IMimeEntity
Accept(MimeVisitor)
IMimeEntity
Accept(MimeVisitor)
Exceptions
Exception
Condition
ArgumentNullException
visitor
is
null
.
ObjectDisposedException
The
MultipartAlternative
has been disposed.
Remarks
This default implementation for
MultipartAlternative
nodes calls
VisitMultipartAlternative(MultipartAlternative)
. 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
VisitMultipartAlternative(MultipartAlternative)
.
See Also
Reference
MultipartAlternative Class
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast