|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
PidTagDisplayType Canonical Property
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Contains a value used to associate an icon with a particular row of a table.
MAPI address book
This property contains a long integer that facilitates special treatment of the table entry based on its type. This special treatment typically consists of displaying an icon, or other display element, associated with the display type.
This property is not used in folder contents tables. Client applications should use a message's PR_MESSAGE_CLASS (PidTagMessageClass) property and appropriate IMAPIFormInfo interface to get the PR_ICON (PidTagIcon) and PR_MINI_ICON (PidTagMiniIcon) properties for that message.
This property can have exactly one of the following values:
Address book contents tables use the DT_AGENT, DT_DISTLIST, DT_FORUM, DT_MAILUSER, DT_ORGANIZATION, DT_PRIVATE_DISTLIST, and DT_REMOTE_MAILUSER values. Address book hierarchy tables and one-off tables use the DT_GLOBAL, DT_LOCAL, DT_MODIFIABLE, DT_NOT_SPECIFIC, and DT_WAN values. Folder hierarchy tables use the DT_FOLDER, DT_FOLDER_LINK, and DT_FOLDER_SPECIAL values.
If this property is not set, the client should assume the default type appropriate for the table, typically DT_FOLDER, DT_LOCAL, or DT_MAILUSER.
Note All values not documented are reserved for MAPI. Client applications must not define any new values and must be prepared to deal with an undocumented value.