Attachment CollectionAdd(Mime Entity) Method
Add an attachment.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void Add(
MimeEntity attachment
)Parameters
- attachment MimeEntity
- The attachment.
Implements
ICollectionTAdd(T)Remarks
Adds the specified MimePart as an attachment.
Exceptions
| ArgumentNullException | attachment is . |