InfoPathControlSite.XDocument property

Gets a reference to the XDocument object associated with the view that contains the control.

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 InfoPathControlSite
Dim value As _XDocument

value = instance.XDocument
_XDocument XDocument { get; }

Property value

Type: Microsoft.Office.Interop.InfoPath._XDocument
An XDocument object

Remarks

The InfoPathControl and InfoPathControlSite objects and their methods and properties are designed to be used only from the implementation of an ActiveX control. These objects and their members are not supported in InfoPath form code. For more information on how to create ActiveX controls that work with InfoPath, see the InfoPath Developer Center (https://msdn.microsoft.com/infopath).

See also

Reference

InfoPathControlSite interface

InfoPathControlSite members

Microsoft.Office.Interop.InfoPath namespace