1. GroupDocs.Watermark
  2. /
  3. GroupDocs.Watermark for .NET
  4. /
  5. GroupDocs.Watermark.Contents.Email
  6. /
  7. EmailAttachmentCollection

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