CategoryRuleCondition.Categories property (Outlook)
Returns or sets an array of String elements that represents the categories evaluated by the rule condition. Read/write.
Syntax
expression. Categories
expression A variable that represents a CategoryRuleCondition object.
Remarks
You can assign an array with one element to evaluate a single category or an array of multiple strings to evaluate multiple categories. Multiple category strings assigned in an array are evaluated using the logical OR operation.
This property uses the character specified in the value name, sList, under HKEY_CURRENT_USER\Control Panel\International in the Windows registry, as the delimiter for multiple categories.
If a string specified by Categories matches a category of the message, the condition evaluates to True.
Outlook does not check to determine if the Categories property contains category names that are in the master category list.
Returns an error if Categories contains one or more empty strings.
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기