Upravit

Sdílet prostřednictvím


_RuleActions.AssignToCategory Property

Definition

Returns an AssignToCategoryRuleAction object with ActionType being olRuleAssignToCategory. Read-only.

public:
 property Microsoft::Office::Interop::Outlook::AssignToCategoryRuleAction ^ AssignToCategory { Microsoft::Office::Interop::Outlook::AssignToCategoryRuleAction ^ get(); };
public Microsoft.Office.Interop.Outlook.AssignToCategoryRuleAction AssignToCategory { get; }
Public ReadOnly Property AssignToCategory As AssignToCategoryRuleAction

Property Value

Remarks

Use the returned AssignToCategoryRuleAction object when enumerating the rule actions of an existing rule or when creating a new rule that assigns categories to a message.

This property of the RuleActions collection always returns an AssignToCategoryRuleAction object regardless of whether the rule associated with this RuleActions collection has defined such a rule action. If the rule has defined and enabled such a rule action, then Enabled will be True.

Applies to