共用方式為


OlAttachmentType Enumeration

Specifies the attachment type.

Name

Value

Description

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

1

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

olEmbeddeditem

5

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

olOLE

6

The attachment is an OLE document.

Remarks

Used as an optional parameter to the Attachments.Add Method (Outlook) to specify the attachment type.

See Also

Concepts

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