MailKit Documentation
MailKit Documentation
API Reference
MimeKit
Multipart Class
Multipart Methods
Accept Method
Add Method
Clear Method
Contains Method
CopyTo Method
Dispose Method
GetEnumerator Method
IndexOf Method
Insert Method
Prepare Method
Remove Method
RemoveAt Method
TryGetValue Method
WriteTo Method
WriteToAsync Method
Multipart
Remove Method
Remove an entity from the multipart.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
bool
Remove
(
MimeEntity
entity
)
Parameters
entity
MimeEntity
The MIME entity to remove.
Return Value
Boolean
Field Value
Boolean
true if the part was removed; otherwise
Field Value
Boolean
false.
Implements
ICollection
T
Remove(T)
Exceptions
Exception
Condition
ArgumentNullException
entity
is
null
.
ObjectDisposedException
The
Multipart
has been disposed.
Remarks
Removes the specified entity if it exists within the multipart.
See Also
Reference
Multipart Class
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast