Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the attachment type.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
Public Enumeration OlAttachmentType
'Usage
Dim instance As OlAttachmentType
public enum OlAttachmentType
Members
| Member name | Description | |
|---|---|---|
| olByValue | The attachment is a copy of the original file and can be accessed even if the original file is removed. | |
| olByReference | This value is no longer supported since Microsoft Outlook 2007. Use olByValue to attach a copy of a file in the file system. | |
| olEmbeddeditem | The attachment is an Outlook message format file (.msg) and is a copy of the original message. | |
| olOLE | The attachment is an OLE document. |
Remarks
Used as an optional parameter to the Microsoft.Office.Interop.Outlook.Attachments method to specify the attachment type.
See Also
Reference
Microsoft.Office.Interop.Outlook Namespace
Other Resources
How to: Send a Mail Item by Using a Hotmail Account
How to: Attach a File to a Mail Item
How to: Attach an Outlook Contact Item to an Email Message
How to: Limit the Size of an Attachment to an Outlook Email Message
How to: Modify an Attachment of an Outlook Email Message
How to: Programmatically Remove Security Level 2 Attachments from Messages and Save Them to Disk