AssignToCategoryRuleAction.Categories 属性 (Outlook)AssignToCategoryRuleAction.Categories Property (Outlook)

返回或设置一个字符串数组,该字符串数组代表分配给邮件的类别。Returns or sets an array of strings representing the categories assigned to the message. 可读写。Read/write.

语法Syntax

表达式expression. Categories

_表达式_一个代表AssignToCategoryRuleAction对象的变量。expression A variable that represents an AssignToCategoryRuleAction object.

说明Remarks

还可以为一个类别的一个元素的数组或为多个类别的字符串数组。You can assign an array with one element for a single category or an array of strings for multiple categories. Outlook 将不检查以确定Categories属性是否包含主类别列表中的类别名称。Outlook does not check to determine if the Categories property contains category names that are in the master category list.

此属性使用在值名称sList ,在 Windows 注册表中位于 HKEY_CURRENT_USER\Control Panel\International下指定为多个类别的分隔符的字符。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.

另请参阅See also

AssignToCategoryRuleAction 对象AssignToCategoryRuleAction Object

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.