如何通过 VSTO 更改 Outlook 中的颜色?
早上好, 几天以来,我一直在寻找通过 VSTO(Visual Studio Tools for Office - C#)更改 Outlook 颜色的机会。 我想更改收件人的颜色,当我想发送电子邮件时我会写下该颜色。 这可能吗?
我在网上没有找到任何相关信息,但这将是我的项目的最佳解决方案。
Good Morning,
Since a few days, I'm searching for an opportunity to change colours in Outlook by VSTO (Visual Studio Tools for Office - C#).
I would like to change the colour of the recipient, which I write down when I would like to send an e-mail.
Is that even possible?
I don't find anything on the web about that, but it would be the best solution for my project.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Outlook 扩展性模型不提供任何用于自定义 Outlook UI 的功能,即更改收件人的颜色。
您能做的最好的事情就是使用 ContactItem。 Categories 属性,允许设置表示分配给 Outlook 项目的类别的字符串。
类别是已分配给 Outlook 项目的类别名称分隔字符串。此属性使用 Windows 注册表中
HKEY_CURRENT_USER\Control Panel\International
下的值名称sList
中指定的字符作为多个类别的分隔符。The Outlook extensibility model doesn't provide anything for customizing the Outlook UI, i.e. changing colors of the recipients.
The best what you could do is to use the ContactItem.Categories property which allows setting a string representing the categories assigned to the Outlook item.
Categories is a delimited string of category names that have been assigned to an Outlook item. This property uses the character specified in the value name,
sList
, underHKEY_CURRENT_USER\Control Panel\International
in the Windows registry, as the delimiter for multiple categories.