OlAttachmentType OlAttachmentType OlAttachmentType Enum


Specifies the attachment type.

public enum class OlAttachmentType
public enum OlAttachmentType
Public Enum OlAttachmentType


olByReference olByReference olByReference 4

This value is no longer supported since Microsoft Outlook 2007. Use olByValue to attach a copy of a file in the file system.

olByValue olByValue olByValue 1

The attachment is a copy of the original file and can be accessed even if the original file is removed.

olEmbeddeditem olEmbeddeditem olEmbeddeditem 5

The attachment is an Outlook message format file (.msg) and is a copy of the original message.

olOLE olOLE olOLE 6

The attachment is an OLE document.


Used as an optional parameter to the Attachments method to specify the attachment type.

Applies to