DocActionEvent.XDocument property

Gets a reference to the XDocument object that is associated with the DocActionEventObject event during an OnClick event.

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

Syntax

'Declaration
ReadOnly Property XDocument As XDocument
    Get
'Usage
Dim instance As DocActionEvent
Dim value As XDocument

value = instance.XDocument
XDocument XDocument { get; }

Property value

Type: Microsoft.Office.Interop.InfoPath.XDocument

Implements

DocReturnEvent.XDocument

Remarks

After you have set a reference to the XDocument object that is returned, you can use any of the properties and methods that it provides.

See also

Reference

DocActionEvent interface

DocActionEvent members

XDocument overload

Microsoft.Office.Interop.InfoPath namespace