Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

PidTagAttachNumber Canonical Property

Published: July 16, 2012

Contains a number that uniquely identifies the attachment within its parent message.

Associated properties:




Data type:



Message attachment

Message stores generate and maintain this property. The attachment number is the secondary sort key, after the rendering position, in the attachment table.

PR_ATTACH_NUM is used to open the attachment with the IMessage::OpenAttach method. Within a client application's session, the PR_ATTACH_NUM property of a message attachment remains constant as long as the attachment table is open.

The message store propagates changes to the table using the IMessage::CreateAttach and IMessage::DeleteAttach methods. At its option the message store can generate table notifications on open attachment tables so that clients can resynchronize to those changes.

Protocol Specifications


Handles message and attachment objects.

Header Files


Provides data type definitions.


Contains definitions of properties listed as alternate names.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.