PidTagAttachSize Canonical Property

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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

Associated properties:

PR_ATTACH_SIZE

Identifier:

0x0E20

Data type:

PT_LONG

Area:

Message attachment

Remarks

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

Header Files

  • Mapidefs.h
    Provides data type definitions.

  • mapitags.h
    Contains definitions of properties listed as alternate names.

See Also

Reference

PidTagMessageSize Canonical Property

Concepts

MAPI Properties

MAPI Canonical Properties

Mapping Canonical Property Names to MAPI Names

Mapping MAPI Names to Canonical Property Names