NewItemAlertRuleAction 接口

定义

代表向用户显示新邮件通知的操作。

public interface class NewItemAlertRuleAction : Microsoft::Office::Interop::Outlook::_NewItemAlertRuleAction
[System.Runtime.InteropServices.Guid("000630D7-0000-0000-C000-000000000046")]
public interface NewItemAlertRuleAction : Microsoft.Office.Interop.Outlook._NewItemAlertRuleAction
Public Interface NewItemAlertRuleAction
Implements _NewItemAlertRuleAction
派生
属性
实现

注解

这是派生自 COM Coclass(托管代码要求此 Coclass 来实现与相应的 COM 对象的互操作性)的 .NET 接口。 使用此派生的接口来访问所有方法、属性和 COM 对象的事件成员。 但是,如果您想要使用的方法或事件共享同一名称并且位于相同的 COM 对象下,请转换为相应的主接口以调用该方法,并转换为最新的事件接口以连接到该事件。 参考此主题以获取有关 COM 对象的信息。 有关 COM 对象的方法和属性成员的信息,请参阅 _NewItemAlertRuleAction

NewItemAlertRuleAction 派生自 RuleAction 对象。 每个规则都与具有 RuleActionsNewItemAlert 属性的对象相关联。 NewItemAlert 属性总是返回一个 NewItemAlertRuleAction 对象。 如果规则具有在“新建项目警报”对话框中显示指定警报的已启用规则操作,则 EnabledTrue

有关指定规则操作的详细信息,请参阅 指定规则操作

属性

ActionType

OlRuleActionType枚举返回常量 olRuleActionNewItemAlert,该常量指示规则执行的操作类型。 只读。

(继承自 _NewItemAlertRuleAction)
Application

返回一个 Application 对象,该对象代表对象的父 Outlook 应用程序。 只读。

(继承自 _NewItemAlertRuleAction)
Class

返回一个 OlObjectClass 常量,指示对象的 类。 只读。

(继承自 _NewItemAlertRuleAction)
Enabled

返回或设置 C# ) 中的 布尔 值 (bool ,用于确定是否启用规则操作。 读/写。

(继承自 _NewItemAlertRuleAction)
Parent

返回指定对象的 对象 的父级。 只读。

(继承自 _NewItemAlertRuleAction)
Session

返回 NameSpace 当前会话的 对象。 只读。

(继承自 _NewItemAlertRuleAction)
Text

返回或设置 C # ) 中的 字符串 (字符串 ,该字符串表示新项警报对话框中显示的文本。 读/写。

(继承自 _NewItemAlertRuleAction)

适用于