A collection of email Attachments
Inheritance Hierarchy
Ipswitch.Messaging.Framework.MailEmailAttachmentCollection
Namespace: Ipswitch.Messaging.Framework.Mail
Assembly: Ipswitch.Messaging.Framework (in Ipswitch.Messaging.Framework.dll) Version: 1.0.0.0
Syntax
public class EmailAttachmentCollection : IList<Attachment>, ICollection<Attachment>, IEnumerable<Attachment>, IEnumerable
The EmailAttachmentCollection type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| EmailAttachmentCollection |
Initialize a new instance.
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Add an Attachment to the end of the colleciton.
| |
| AddRange |
Add a collection of attachments to the collection.
| |
| Clear |
Remove all Attachments from the collection.
| |
| Contains |
Checks to see if the indicated Attachment is present in the collection.
| |
| CopyTo |
Copies the contents of the collection to an Attachment array starting at the specified index.
| |
| Equals | (Inherited from Object.) | |
| GetEnumerator |
Create an Enumerator that will enumerate all available Attachments in the collection.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf |
Retrieves the index of the indicated item in the collection.
| |
| Insert |
Inserts an Attachment into the collection at a specific index.
| |
| Remove |
Removes the first occurrance of an Attachment from the collection.
| |
| RemoveAt |
Removes the Attachment found at a particular index.
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Count |
Gets the number of Attachments in this collection.
| |
| IsReadOnly |
Gets a value indicating whether or not this collection is read only.
| |
| Item |
Gets or sets an Attachment found at a particular index.
|
See Also