MailKit Documentation
MailKit Documentation
API Reference
MimeKit
Multipart Class
Multipart Methods
Clear Method
Clear Method
Clear(Boolean) Method
Multipart
Clear(Boolean) Method
Clear a multipart.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
Copy
public
void
Clear
(
bool
dispose
)
Parameters
dispose
Boolean
if all the child entities of the multipart should be disposed; otherwise,
.
Exceptions
Exception
Condition
ObjectDisposedException
The
Multipart
has been disposed.
Remarks
Removes all the entities within the multipart, optionally disposing them in the process.
See Also
Reference
Multipart Class
Clear Overload
MimeKit Namespace
Copyright © 2013-2025 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast