MailKit Documentation
MailKit Documentation
API Reference
MailKit
BodyPartCollection Class
BodyPartCollection Methods
Add Method
Clear Method
Contains Method
CopyTo Method
GetEnumerator Method
IndexOf Method
Remove Method
Body
Part
Collection
Remove Method
Removes the specified body part.
Namespace:
MailKit
Assembly:
MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
bool
Remove
(
BodyPart
part
)
Parameters
part
BodyPart
The body part.
Return Value
Boolean
Field Value
Boolean
true if the body part was removed; otherwise
Field Value
Boolean
false.
Implements
ICollection
T
Remove(T)
Exceptions
Exception
Condition
ArgumentNullException
part
is
null
.
Remarks
Removes the specified body part.
See Also
Reference
BodyPartCollection Class
MailKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast