EmailAttachmentCollection

EmailAttachmentCollection class

Represents a collection of attachments in an email message.

public class EmailAttachmentCollection : RemoveOnlyListBase<EmailAttachment>

Properties

Name Description
virtual Count { get; } Gets the number of elements contained in the collection.
override IsReadOnly { get; } Gets a value indicating whether the collection is read-only.
virtual Item { get; } Gets the element at the specified index in the collection.

Methods

Name Description
Add(byte[], string) Adds an attachment to the EmailContent.
Clear()
virtual Contains(EmailAttachment)
virtual GetEnumerator()
virtual IndexOf(EmailAttachment)
Remove(EmailAttachment)
RemoveAt(int)

Remarks

This collection contains the items of EmailAttachment type.

See Also