如何通过 VSTO 更改 Outlook 中的颜色?

发布于 2025-01-13 14:29:41 字数 159 浏览 3 评论 0原文

早上好, 几天以来,我一直在寻找通过 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鸠书 2025-01-20 14:29:41

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, under HKEY_CURRENT_USER\Control Panel\International in the Windows registry, as the delimiter for multiple categories.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文