MsgAttachmentCollection Class
Namespace: Rebex.Mail
Assembly: Rebex.Msg.dll (version 7.0.9313)
Represents a collection of Outlook .MSG attachments.
Syntax
public class MsgAttachmentCollection : ICollection<MsgAttachment>, IEnumerable<MsgAttachment>, IEnumerable
Inherited Members
Properties
| Name | Description |
|---|---|
| Count | Gets the number of elements. |
| Item[Int32] | Gets the attachment on specified index. |
Methods
| Name | Description |
|---|---|
| Add(Stream, String, String) | Adds an attachment to the collection. |
| Add(String, String) | Adds an attachment to the collection. |
| Clear() | Clears the collection. |
| Contains(MsgAttachment) | Gets a value indicating whether the specified attachment is in the collection. |
| CopyTo(MsgAttachment[], Int32) | Copies the entire collection to an array, starting at the specified index of the target array. |
| GetEnumerator() | Gets an IEnumerator<T> to iterate through the collection. |
| Remove(MsgAttachment) | Removes specified attachment from the collection. |
| RemoveAt(Int32) | Removes an attachment at specified index. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| ICollection<MsgAttachment>.Add(MsgAttachment) | Not supported method overload. Throws NotSupportedException. |
| ICollection<MsgAttachment>.IsReadOnly | Returns false. |
| IEnumerable.GetEnumerator() | Gets an IEnumerator to iterate through the collection. |