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

返回或设置一个字符串, 表示分配给 Outlook 项目的类别。Returns or sets a String representing the categories assigned to the Outlook item. 读/写。Read/write.


expressionexpression. Categories

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


类别 是已分配给某个 Outlook 项目的类别名称的分隔符的字符串。Categories is a delimited string of category names that have been assigned to an Outlook item. 此属性使用值名称, sList 下 HKEY_CURRENT_USER\Control Panel\International 在 Windows 注册表中,, 指定为多个类别的分隔符的字符。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. 要将类别名称的字符串转换为数组的类别名称,请使用 Microsoft Visual Basic 函数 拆分To convert the string of category names to an array of category names, use the Microsoft Visual Basic function Split.

另请参阅See also

创建 ContactItem 对象ContactItem 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.