InfoPathEventHandlerAttribute Class

Apply this attribute to define an event handler in form code.

Namespace: Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in


To prevent errors in the specification of the InfoPathEventHandler attribute for an event handler, you should only use InfoPath user interface commands to add the stub for event handler code. For more information, see How to: Add an Event Handler Using the InfoPath 2003 Object Model.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions