This documentation is archived and is not being maintained.

PidTagAttachSize Canonical Property

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Contains the sum, in bytes, of the sizes of all properties on an attachment.

Associated properties:




Data type:



Message attachment

It is recommended that attachment subobjects expose the PR_ATTACH_SIZE property. The sum contained in PR_ATTACH_SIZE includes the size of the PR_ATTACH_DATA_BIN (PidTagAttachDataBinary) or PR_ATTACH_DATA_OBJ (PidTagAttachDataObject) property. Accordingly, PR_ATTACH_SIZE is usually larger than the contents of the attachment alone.

This property can be used to check the approximate size of the attachment before performing a remote transfer by modem and to display progress indicators when saving the attachment to disk. It is particularly useful with attached OLE objects.

Protocol Specifications


Handles message and attachment objects.

Header Files


Provides data type definitions.


Contains definitions of properties listed as alternate names.