Attachment Properties (Compact 7)

3/12/2014

These properties appear on attachment objects.

Constant Description Data type Property ID Property Tag

PR_ATTACHMENT_X400_PARAMETERS

was originally meant to contain an ASN.1 object identifier specifying how the attachment should be handled during transmission.

No longer supported.

PT_BINARY

0x3700

0x37000102

PR_ATTACH_CONTENT_ID

Contains the content identification header of a MIME message attachment. This property is used for MHTML support. It represents the content identification header for the appropriate MIME body part.

PT_TSTRING

0x3712

0x3712001F

PR_ATTACH_CONTENT_ID_W

Contains the content identification header of a MIME message attachment. This property is used for MHTML support. It represents the content identification header for the appropriate MIME body part. UNICODE compilation.

PT_UNICODE

0x3712

0x3712001F

PR_ATTACH_CONTENT_ID_A

Contains the content identification header of a MIME message attachment. This property is used for MHTML support. It represents the content identification header for the appropriate MIME body part. Non-UNICODE compilation.

PT_STRING8

0x3712

0x3712001E

PR_ATTACH_CONTENT_LOCATION

Contains the content location header of a MIME message attachment. This property is used for MHTML support. It represents the content location header for the appropriate MIME body part.

PT_TSTRING

0x3713

0x3713001F

PR_ATTACH_CONTENT_LOCATION_W

Contains the content location header of a MIME message attachment. This property is used for MHTML support. It represents the content location header for the appropriate MIME body part. UNICODE compilation.

PT_UNICODE

0x3713

0x3713001F

PR_ATTACH_CONTENT_LOCATION_A

Contains the content location header of a MIME message attachment. This property is used for MHTML support. It represents the content location header for the appropriate MIME body part. Non-UNICODE compilation.

PT_STRING8

0x3713

0x3713001E

PR_ATTACH_DATA_OBJ

Contains an attachment object typically accessed through the OLE IStorage:IUnknown interface.

PT_OBJECT

0x3701

0x3701000D

PR_ATTACH_DATA_BIN

Contains binary attachment data typically accessed through the COM IStream:IUnknown interface.

PT_BINARY

0x3701

0x37010102

PR_ATTACH_ENCODING

Contains an ASN.1 object identifier specifying the encoding for an attachment.

PT_BINARY

0x3702

0x37020102

PR_ATTACH_EXTENSION

Contains a filename extension that indicates the document type of an attachment.

PT_TSTRING

0x3703

0x3703001F

PR_ATTACH_EXTENSION_W

Contains a filename extension that indicates the document type of an attachment. UNICODE compilation.

PT_UNICODE

0x3703

0x3703001F

PR_ATTACH_EXTENSION_A

Contains a filename extension that indicates the document type of an attachment. Non-UNICODE compilation.

PT_STRING8

0x3703

0x3703001E

PR_ATTACH_FILENAME

Contains an attachment's base filename and extension, excluding path.

PT_TSTRING

0x3704

0x3704001F

PR_ATTACH_FILENAME_W

Contains an attachment's base filename and extension, excluding path. UNICODE compilation.

PT_UNICODE

0x3704

0x3704001F

PR_ATTACH_FILENAME_A

Contains an attachment's base filename and extension, excluding path. Non-UNICODE compilation.

PT_STRING8

0x3704

0x3704001E

PR_ATTACH_METHOD

Contains a MAPI-defined constant representing the way the contents of an attachment can be accessed.

PT_LONG

0x3705

0x37050003

PR_ATTACH_LONG_FILENAME

Contains an attachment's long filename and extension, excluding path.

PT_TSTRING

0x3707

0x3707001F

PR_ATTACH_LONG_FILENAME_W

Contains an attachment's long filename and extension, excluding path. UNICODE compilation.

PT_UNICODE

0x3707

0x3707001F

PR_ATTACH_LONG_FILENAME_A

Contains an attachment's long filename and extension, excluding path. Non-UNICODE compilation.

PT_STRING8

0x3707

0x3707001E

PR_ATTACH_PATHNAME

Contains an attachment's fully qualified path and filename.

PT_TSTRING

0x3708

0x3708001F

PR_ATTACH_PATHNAME_W

Contains an attachment's fully qualified path and filename. UNICODE compilation.

PT_UNICODE

0x3708

0x3708001F

PR_ATTACH_PATHNAME_A

Contains an attachment's fully qualified path and filename. Non-UNICODE compilation.

PT_STRING8

0x3708

0x3708001E

PR_ATTACH_RENDERING

Contains a Windows metafile with rendering information for an attachment.

PT_BINARY

0x3709

0x37090102

PR_ATTACH_TAG

Contains an ASN.1 object identifier specifying the application that supplied an attachment.

PT_BINARY

0x370A

0x370A0102

PR_RENDERING_POSITION

Contains an offset, in characters, to use in rendering an attachment within the main message text.

PT_LONG

0x370B

0x370B0003

PR_ATTACH_TRANSPORT_NAME

Contains the name of an attachment file modified so that it can be correlated with TNEF messages.

PT_TSTRING

0x370C

0x370C001F

PR_ATTACH_TRANSPORT_NAME_W

Contains the name of an attachment file modified so that it can be correlated with TNEF messages. UNICODE compilation.

PT_UNICODE

0x370C

0x370C001F

PR_ATTACH_TRANSPORT_NAME_A

Contains the name of an attachment file modified so that it can be correlated with TNEF messages. Non-UNICODE compilation.

PT_STRING8

0x370C

0x370C001E

PR_ATTACH_LONG_PATHNAME

Contains an attachment's fully qualified long path and filename.

PT_TSTRING

0x370D

0x370D001F

PR_ATTACH_LONG_PATHNAME_W

Contains an attachment's fully qualified long path and filename. UNICODE compilation.

PT_UNICODE

0x370D

0x370D001F

PR_ATTACH_LONG_PATHNAME_A

Contains an attachment's fully qualified long path and filename. Non-UNICODE compilation.

PT_STRING8

0x370D

0x370D001E

PR_ATTACH_MIME_TAG

Contains formatting information about a Multipurpose Internet Mail Extensions (MIME) attachment.

PT_TSTRING

0x370E

0x370E001F

PR_ATTACH_MIME_TAG_W

Contains formatting information about a Multipurpose Internet Mail Extensions (MIME) attachment. UNICODE compilation.

PT_UNICODE

0x370E

0x370E001F

PR_ATTACH_MIME_TAG_A

Contains formatting information about a Multipurpose Internet Mail Extensions (MIME) attachment. Non-UNICODE compilation.

PT_STRING8

0x370E

0x370E001E

PR_ATTACH_ADDITIONAL_INFO

Provides file type information for a non-Windows attachment.

PT_BINARY

0x370F

0x370F0102

See Also

Reference

MAPI Properties