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.7.1
Syntax
C#
Copy
public
void
Clear
(
bool
dispose
)
Parameters
dispose
Boolean
true
if all of the child entities of the multipart should be disposed; otherwise,
false
.
Exceptions
Exception
Condition
ObjectDisposedException
The
Multipart
has been disposed.
Remarks
Removes all of the entities within the multipart, optionally disposing them in the process.
See Also
Reference
Multipart Class
Clear Overload
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast