问题描述
当我在Outlook 2013中创建规则时,我可以选择的其中一个操作是"将其标记为已读"。但是,C#包中的`Microsoft.Office.Interop.Outlook.Actions`类型似乎没有提供与此操作交互的方法。似乎
是`olRuleActionMarkRead`的'OlRuleActionType`但是我没有看到创建具有任意类型的动作的方法。如何判断现有规则是否启用了此操作,或者使用C#启用此操作创建新规则?
When I create a rule in Outlook 2013, one of the actions I can select is "mark it as read". However, the `Microsoft.Office.Interop.Outlook.Actions` type in the C# package does not seem to provide a way to interact with this action. There seems to be an `OlRuleActionType` of `olRuleActionMarkRead` but I do not see a way to create an action with an arbitrary type. How can I tell if an existing rule has this action enabled or create new rules with this action enabled using C#?
这篇关于如何使用C#中的Mark It As Read操作创建规则的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!