The PR_HASATTACH property contains TRUE if a message contains at least one attachment.
| Header file: | MAPITAGS.H |
| Must be exposed by: | Message objects |
| Identifier: | 0x0E1B |
| Property type: | PT_BOOLEAN |
| Property tag: | 0x0E1B000B |
The message store copies the PR_HASATTACH property from the MSGFLAG_HASATTACH flag of the PR_MESSAGE_FLAGS property. A client application can then use PR_HASATTACH to sort on message attachments in a message viewer.
The value of PR_HASATTACH is updated with the IMAPIProp::SaveChanges method.