PidTagEntryId Canonical Property
Last modified: July 23, 2011
Applies to: Outlook
Contains a MAPI entry identifier used to open and edit properties of a particular MAPI object.
|
Associated properties: |
PR_ENTRYID |
|
Identifier: |
0x0FFF |
|
Data type: |
PT_BINARY |
|
Area: |
ID properties |
This property identifies an object for OpenEntry to instantiate and provides access to all of its properties through the appropriate derived interface of IMAPIProp.
This property is one of the base address properties for all messaging users.
This property can contain either a long-term or a short-term identifier. Short-term identifiers are easier and faster to construct, but are limited in their scope and duration, typically to the current session and workstation. They are commonly used for objects of a temporary nature, such as table rows or dialog box entries, and then abandoned. Long-term identifiers are used for objects of a more wide-ranging and long-lasting nature.
This property is always available through the IMAPIProp::GetProps method following the first call to the IMAPIProp::SaveChanges method. Some service providers can make it available immediately after instantiation. The provider must always return a long-term entry identifier from GetProps. Therefore, to convert a short-term identifier to long-term, simply open the object and get its this property through GetProps.
The following table summarizes important differences among this property, PR_RECORD_KEY (PidTagRecordKey), and PR_SEARCH_KEY (PidTagSearchKey).
|
Characteristic |
PR_ENTRYID |
PR_RECORD_KEY |
PR_SEARCH_KEY |
|---|---|---|---|
|
Required on attachment objects |
No |
Yes |
No |
|
Required on folder objects |
Yes |
Yes |
No |
|
Required on message store objects |
Yes |
Yes |
No |
|
Required on status objects |
Yes |
No |
No |
|
Created by client |
No |
No |
Yes |
|
Available before call to SaveChanges |
Depends on provider implementation |
Depends on provider implementation |
For messages, Yes. For others, depends on provider implementation. |
|
Changed in a copy operation |
Yes |
Yes |
No |
|
Changeable by client after a copy |
No |
No |
Yes |
|
Unique within |
Entire world |
Provider instance |
Entire world |
|
Binary comparable (as with memcmp) |
Yes |
Yes |