Partager via


EventManager.XmlEvents Property

Gets a XmlEvents object for binding an event handler in the InternalStartup method of a form template.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property XmlEvents As XmlEvents
    Get
'Usage
Dim instance As EventManager
Dim value As XmlEvents

value = instance.XmlEvents
public abstract XmlEvents XmlEvents { get; }

Property Value

Type: Microsoft.Office.InfoPath.XmlEvents
An XmlEvents object for binding an event handler in the InternalStartup method of a form template.

Remarks

Important

The InternalStartup method and the event binding code within it are generated by InfoPath when you add event handlers using various user interface commands. You should not create the InternalStartup method or write any additional code within it yourself. For information about how to add event handlers using interface commands, see How to: Add an Event Handler.

See Also

Reference

EventManager Class

EventManager Members

Microsoft.Office.InfoPath Namespace