Click or drag to resize

AttachmentCollection Class

Represents a collection of MailMessage attachments.
Inheritance Hierarchy
SystemObject
  GemBox.EmailAttachmentCollection

Namespace:  GemBox.Email
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 13.0.35.1012
Syntax
public sealed class AttachmentCollection : ICollection<Attachment>, 
	IEnumerable<Attachment>, IEnumerable

The AttachmentCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the count.
Public propertyItem
Gets the Attachment at the specified index.
Top
Methods
  NameDescription
Public methodAdd
Adds the specified Attachment item.
Public methodAddInline
Adds the specified Attachment item as an inline entity.
Public methodClear
Removes all the items from this AttachmentCollection
Public methodContains
Determines whether this AttachmentCollection contains the specified Attachment item.
Public methodCopyTo
Copies this AttachmentCollection or a portion of it to an array.
Public methodRemove
Removes the specified Attachment item.
Top
See Also