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
Add Method
Add the specified body part to the collection.
Namespace:
MailKit
Assembly:
MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
void
Add
(
BodyPart
part
)
Parameters
part
BodyPart
The body part.
Implements
ICollection
T
Add(T)
Exceptions
Exception
Condition
ArgumentNullException
part
is
null
.
Remarks
Adds the specified body part to the collection.
See Also
Reference
BodyPartCollection Class
MailKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast