Export (0) Print
Expand All

_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)

[DispIdAttribute()]
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.

Show:
© 2014 Microsoft