OlAttachmentType enumeration

Specifies the attachment type.

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

public enum OlAttachmentType

Member nameDescription
olByValueThe attachment is a copy of the original file and can be accessed even if the original file is removed.
olByReferenceThis value is no longer supported since Microsoft Outlook 2007. Use olByValue to attach a copy of a file in the file system.
olEmbeddeditemThe attachment is an Outlook message format file (.msg) and is a copy of the original message.
olOLEThe attachment is an OLE document.

Used as an optional parameter to the Microsoft.Office.Interop.Outlook.Attachments method to specify the attachment type.