Partager via


_NameSpace.Categories Property

Returns or sets a Categories object that represents the set of Category objects available to the namespace. Read/write.

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 _NameSpace
Dim value As Categories

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

Property Value

Type: Microsoft.Office.Interop.Outlook.Categories

Remarks

This property represents the Master Category List, which is the set of Category objects that can be applied to Outlook items contained by the NameSpace object, and applies to all users of that namespace.

See Also

Reference

_NameSpace Interface

_NameSpace Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Enumerate and Add Categories

How to: Assign Categories to an Item

How to: Filter and Display Multivalued Properties When Enumerating Items in a Folder