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

_Store.Categories Property

Returns a Categories collection that represents all of the categories that are defined for the Store. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Categories Categories { get; }

This property is similar to the Categories property of the NameSpace object, except that the this property applies to a session profile that specifies one or more accounts and specifies the categories for the store that an account is associated with, whereas the Categories property of the NameSpace object applies to a session profile that defines only one account, and specifies the Master Category List for that session.

For certain secondary delivery stores such as an IMAP store, the Categories property returns the Categories collection for the primary store. IMAP stores do not actually support a separate categories collection.

© 2015 Microsoft