_ApplicationEvents_Event::NewXDocument event

Occurs when a new form is created.

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

No code example is currently available or this language may not be supported.

The NewXDocument event of the _ApplicationEvents_Event interface is primarily used with COM Add-ins. For more information about creating a COM Add-in for Microsoft InfoPath, see How to: Create a COM Add-in to Add Custom Features to InfoPath.

Show: