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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property Categories As Categories
    Get
'Usage
Dim instance As _Store
Dim value As Categories

value = instance.Categories
[DispIdAttribute()]
Categories Categories { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.Categories

Remarks

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.

See Also

Reference

_Store Interface

_Store Members

Microsoft.Office.Interop.Outlook Namespace