AssignToCategoryRuleAction Members (Outlook)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents an action that assigns categories to a message.

Properties

Name

Description

ActionType

Returns a constant, olRuleActionAssignToCategory, from the OlRuleActionType enumeration that indicates the type of action that is taken by the rule. Read-only.

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

Categories

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

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

Enabled

Returns or sets a Boolean that determines if the rule action is enabled. Read/write.

Parent

Returns the parent Object of the specified object. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.