InfoPathEventHandlerAttribute.EventType 属性

定义

获取或设置在特性中 InfoPathEventHandlerAttribute 指定为 InfoPathEventType 枚举的事件的类型。

public:
 property Microsoft::Office::Interop::InfoPath::SemiTrust::InfoPathEventType EventType { Microsoft::Office::Interop::InfoPath::SemiTrust::InfoPathEventType get(); void set(Microsoft::Office::Interop::InfoPath::SemiTrust::InfoPathEventType value); };
public Microsoft.Office.Interop.InfoPath.SemiTrust.InfoPathEventType EventType { get; set; }
member this.EventType : Microsoft.Office.Interop.InfoPath.SemiTrust.InfoPathEventType with get, set
Public Property EventType As InfoPathEventType

属性值

注解

重要说明:为了防止事件处理程序的 InfoPathEventHandler 属性规范出错,应仅使用 InfoPath 用户界面命令为事件处理程序代码添加存根。 有关详细信息,请参阅如何:使用 InfoPath 2003 对象模型添加事件处理程序。

适用于