PR_ATTACH_SIZE

The PR_ATTACH_SIZE property contains the sum, in bytes, of the sizes of all properties on an attachment.

Quick Info

Header file: MAPITAGS.H
May be exposed by: Attacment subobjects
Identifier: 0x0E20
Property type: PT_LONG
Property tag: 0x0E200003

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 or PR_ATTACH_DATA_OBJ 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.

See Also

Attachment Properties, PR_MESSAGE_SIZE