Attachments interface

Contains a set of Attachment objects that represent the attachments in an Outlook item.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

[TypeLibTypeAttribute()]
[DefaultMemberAttribute("Item")]
[GuidAttribute("0006303C-0000-0000-C000-000000000046")]
public interface Attachments : IEnumerable

Use the Item property to return the Attachments collection for any Outlook item (except notes).

Use the Add method to add an attachment to an item.

To ensure consistent results, always save an item before adding or removing objects in the Attachments collection of the item.

Show:
© 2014 Microsoft