MailItem.Categories Property (Outlook)
Collapse the table of content
Expand the table of content
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. ArchiveDisclaimer

MailItem.Categories Property (Outlook)

Returns or sets a String representing the categories assigned to the Outlook item. Read/write.

expression .Categories

expression A variable that represents a MailItem object.

Categories is a delimited string of category names that have been assigned to an Outlook item. This property uses the character specified in the value name, sList, under HKEY_CURRENT_USER\Control Panel\International in the Windows registry, as the delimiter for multiple categories. To convert the string of category names to an array of category names, use the Microsoft Visual Basic function Split.

© 2015 Microsoft