2.2.2.9 PidTagAttachMethod Property

Type: PtypInteger32 ([MS-OXCDATA] section 2.11.1)

The PidTagAttachMethod property ([MS-OXPROPS] section 2.601) represents the way the contents of an attachment are accessed. This property is set to one of the following values.

Flag name

Value

Description

afNone

0x00000000

The attachment has just been created.

afByValue

0x00000001

The PidTagAttachDataBinary property (section 2.2.2.7) contains the attachment data.

afByReference

0x00000002

The PidTagAttachLongPathname property (section 2.2.2.13) contains a fully qualified path identifying the attachment To recipients with access to a common file server.

afByReferenceOnly

0x00000004

The PidTagAttachLongPathname property contains a fully qualified path identifying the attachment.

afEmbeddedMessage

0x00000005

The attachment is an embedded message that is accessed via the RopOpenEmbeddedMessage ROP ([MS-OXCROPS] section 2.2.6.16).

afStorage

0x00000006

The PidTagAttachDataObject property (section 2.2.2.8) contains data in an application-specific format.

afByWebReference

0x00000007

The PidTagAttachLongPathname property contains a fully qualified path identifying the attachment. The PidNameAttachmentProviderType defines the web service API manipulating the attachment.