InfoPathEditor.XDocument Property

Definition

Gets an XDocument object associated with the hosted InfoPathEditor object.

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 associated with the hosted InfoPathEditor object.

Remarks

The XDocument object returned can be used to access and work with members of the InfoPath object model.

For more information about the InfoPathEditor and the FormControl objects , see the MSDN article Hosting the InfoPath Form Editing Environment in a Custom Windows Form ApplicationWhat's New for InfoPath Developers.

Applies to