Share via


_AssignToCategoryRuleAction.Categories Property

Returns or sets an array of strings representing the categories assigned to the message. Read/write.

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

Syntax

'Declaration
Property Categories As Object
    Get
    Set
'Usage
Dim instance As _AssignToCategoryRuleAction
Dim value As Object

value = instance.Categories

instance.Categories = value
Object Categories { get; set; }

Property Value

Type: System.Object

Remarks

You can assign an array with one element for a single category or an array of strings for multiple categories. Outlook does not check to determine if the Categories property contains category names that are in the master category list.

See Also

Reference

_AssignToCategoryRuleAction Interface

_AssignToCategoryRuleAction Members

Microsoft.Office.Interop.Outlook Namespace