AttachmentCollection Class
Namespace: Rebex.Mail
Assembly: Rebex.Mail.dll (version 7.0.9083)
Represents the collection of mail message attachments.
Syntax
public class AttachmentCollection : ICollection, IEnumerable<Attachment>, IEnumerable
Inherited Members
Constructors
Name | Description |
---|---|
AttachmentCollection() | Initializes a new instance of the AttachmentCollection. |
Properties
Name | Description |
---|---|
Count | Gets the number of items in the collection. |
IsSynchronized | Gets a value indicating whether access to AttachmentCollection is synchronized (thread-safe). |
Item[Int32] | Gets or sets the list item at the specified index. |
SyncRoot | Gets an object that can be used to synchronize access to AttachmentCollection object. |
Methods
Name | Description |
---|---|
Add(Attachment) | Adds an item to the end of the list. |
AddRange(ICollection) | Adds a range of items contained in the specified collection. |
CopyTo(Attachment[], Int32) | Copies the range of elements from the AttachmentCollection to a compatible one-dimensional array, starting at the specified index of the target array. |
GetEnumerator() | Gets an IEnumerator<T> for the AttachmentCollection collection. |
RemoveAt(Int32) | Removes the item at the specified index from the list. |
Explicit Interface Implementations
Name | Description |
---|---|
ICollection.CopyTo(Array, Int32) | Copies the range of elements from the collection to a compatible one-dimensional array, starting at the specified index of the target array. |
IEnumerable.GetEnumerator() | Gets an IEnumerator for the collection. |