Share via


_ApplicationEvents.XDocumentBeforeClose method

This member is reserved for internal use and is not intended to be used directly from your code.

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

Syntax

'Declaration
Sub XDocumentBeforeClose ( _
    pDocument As _XDocument, _
    <OutAttribute> ByRef pfCancel As Boolean _
)
'Usage
Dim instance As _ApplicationEvents
Dim pDocument As _XDocument
Dim pfCancel As Boolean

instance.XDocumentBeforeClose(pDocument, _
    pfCancel)
void XDocumentBeforeClose(
    _XDocument pDocument,
    out bool pfCancel
)

Parameters

See also

Reference

_ApplicationEvents interface

_ApplicationEvents members

Microsoft.Office.Interop.InfoPath namespace