Edit

Share via


InfoPathControlSite.XDocument Property

Definition

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

public:
 property Microsoft::Office::Interop::InfoPath::_XDocument ^ XDocument { Microsoft::Office::Interop::InfoPath::_XDocument ^ get(); };
public Microsoft.Office.Interop.InfoPath._XDocument XDocument { get; }
member this.XDocument : Microsoft.Office.Interop.InfoPath._XDocument
Public ReadOnly Property XDocument As _XDocument

Property Value

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 (http://msdn.microsoft.com/infopath).

Applies to