Class MapiAttachmentCollection
Contents
[
Hide
]MapiAttachmentCollection class
Represents a collection of MapiAttachment objects.
public class MapiAttachmentCollection : List<MapiAttachment>
Constructors
| Name | Description |
|---|---|
| MapiAttachmentCollection() | Initializes a new instance of the MapiAttachmentCollection class. |
| MapiAttachmentCollection(MapiMessageItemBase) | Initializes a new instance of the MapiAttachmentCollection class. |
Methods
| Name | Description |
|---|---|
| Add(MapiAttachment) | Adds an object to the end of the Collection. |
| Add(string, byte[]) | Adds the new attachment. |
| Add(string, MapiMessage) | Adds the new attachment as embedded message. |
| Add(string, ReferenceAttachmentOptions) | Adds a reference attachment to the collection using the specified name and configuration options. |
| Insert(int, MapiAttachment) | Inserts an element into the Collection at the specified index. |
| Insert(int, string, MapiMessage) | Inserts a message as attachment into the MapiAttachmentCollection at the specified index. |
| Remove(MapiAttachment) | Removes the first occurrence of a specific object from the MapiAttachmentCollection. |
| RemoveAt(int) | Removes the element at the specified index of the MapiAttachmentCollection. |
| Replace(int, string, MapiMessage) | Replaces an element at the specified index. |
See Also
- class MapiAttachment
- namespace Aspose.Email.Mapi
- assembly Aspose.Email