Share via


DocContextChangeEvent.XDocument property

Gets a reference to the XDocument object that is associated with the DocContextChangeEventObject object in an OnContextChange event.

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

Syntax

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

value = instance.XDocument
XDocument XDocument { get; }

Property value

Type: Microsoft.Office.Interop.InfoPath.SemiTrust.XDocument

Implements

DocEvent.XDocument

Remarks

Important

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

See also

Reference

DocContextChangeEvent interface

DocContextChangeEvent members

XDocument overload

Microsoft.Office.Interop.InfoPath.SemiTrust namespace