Keywords

Keywords

Represents the categories assigned to a message so that you can easily find, sort, filter, or group the message.

Quick Info

Exposed on: Message objects
Created by: Outlook
Accessed by: Outlook and solution providers
Property type: PT_MV_UNICODE
Access type: Read-only

Remarks

To retrieve the value of this property, first use IMAPIProp::GetIDsFromNames to obtain the property tag, and then specify this property tag in IMAPIProp::GetProps to get the value. When calling IMAPIProp::GetIDsFromNames, specify the following values for the MAPINAMEID structure pointed at by the input parameter lppPropNames:

lpGuid: PS_PUBLIC_STRINGS
ulKind: MNID_STRING
Kind.lpwstrName: L"Keywords"

This property corresponds to the Categories property of a Microsoft Office Outlook item in the Outlook object model. For example, for the MailItem object, this property corresponds to the Categories property in the object model.

See Also

Constants for Outlook Named Properties