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

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


expressionexpression. Categories

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


还可以为一个类别的一个元素的数组或为多个类别的字符串数组。You can assign an array with one element for a single category or an array of strings for multiple categories. Outlook 不会检查以确定 category 属性**** 是否包含主类别列表中的类别名称。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.