Click or drag to resize
MimeKit

AttachmentCollection Methods

The AttachmentCollection type exposes the following members.

Methods
 NameDescription
Public methodAdd(MimeEntity) Add an attachment.
Public methodAdd(String, Byte) Add an attachment.
Public methodCode exampleAdd(String, CancellationToken) Add an attachment.
Public methodAdd(String, ContentType, CancellationToken) Add an attachment.
Public methodAdd(String, Byte, ContentType) Add an attachment.
Public methodAdd(String, Stream, CancellationToken) Add an attachment.
Public methodAdd(String, Stream, ContentType, CancellationToken) Add an attachment.
Public methodAddAsync(String, CancellationToken) Asynchronously add an attachment.
Public methodAddAsync(String, ContentType, CancellationToken) Asynchronously add an attachment.
Public methodAddAsync(String, Stream, CancellationToken) Asynchronously add an attachment.
Public methodAddAsync(String, Stream, ContentType, CancellationToken) Asynchronously add an attachment.
Public methodClear Clear the attachment collection.
Public methodClear(Boolean) Clear the attachment collection.
Public methodContains Check if the collection contains the specified attachment.
Public methodCopyTo Copy all of the attachments in the collection to an array.
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetEnumerator Get an enumerator for the list of attachments.
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Public methodIndexOf Get the index of the requested attachment, if it exists.
Public methodInsert Insert an attachment at the given index.
Protected methodMemberwiseClone
(Inherited from Object)
Public methodRemove Remove an attachment.
Public methodRemoveAt Remove the attachment at the specified index.
Public methodToString
(Inherited from Object)
Top
See Also