Share via


ApplicationEvents.XDocumentOpen Event

InfoPath Developer Reference

Occurs when a document is opened.

Version Information
 Version Added:  InfoPath 2007

Syntax

expression.XDocumentOpen(pDocument, )

expression   An expression that returns an ApplicationEvents object.

Parameters

Name Required/Optional Data Type Description
pDocument Required XDocument A reference to the active document.

Return Value
Nothing

Remarks

The XDocumentOpen event of the ApplicationEvents collection is primarily used with COM Add-ins. For more information about creating a COM Add-in for Microsoft Office InfoPath 2007, see How To: Create a COM Add-in to add custom features to InfoPath

See Also