InfoPathEventHandlerAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Apply this attribute to define an event handler in form code.
public ref class InfoPathEventHandlerAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class InfoPathEventHandlerAttribute : Attribute
type InfoPathEventHandlerAttribute = class
inherit Attribute
Public NotInheritable Class InfoPathEventHandlerAttribute
Inherits Attribute
- Inheritance
-
InfoPathEventHandlerAttribute
- Attributes
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.
Constructors
InfoPathEventHandlerAttribute() |
This member is reserved for internal use and is not intended to be used directly from your code. |
Properties
DataObject |
Gets or sets the name of the data adapter that is the event source in an InfoPathEventHandlerAttribute attribute applied to an event handler for an OnAfterChange event. |
EventType |
Gets or sets the type of event specified in an InfoPathEventHandlerAttribute attribute as an InfoPathEventType enumeration. |
MatchPath |
Gets or sets the XPath expression that specifies the event source (when applicable to the event) in an InfoPathEventHandlerAttribute attribute. |