Edit

Share via


InfoPathEventHandlerAttribute.EventType Property

Definition

Gets or sets the type of event specified in an InfoPathEventHandlerAttribute attribute as an InfoPathEventType enumeration.

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

Property Value

Remarks

Important: 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.

Applies to