Edit

Share via


_XDocument3.Solution Property

Definition

Gets a reference to the SolutionObject object that is associated with a Microsoft Office InfoPath form.

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

Property Value

A reference to the SolutionObject object that is associated with a form

Implements

Examples

In the following example, the Solution property of the XDocument object is used to load a variable with the XML contents of the .xsf file:

string xsf;
xsf = thisXDocument.<span class="label">Solution</span>.DOM.xml;

In the following example, the Solution property of the XDocument object is used to load a variable with the XML contents of the .xsf file:

string xsf;
xsf = thisXDocument.<span class="label">Solution</span>.DOM.xml;

Remarks

The Solution property provides access to information about a form's associated form definition (.xsf) file, including access to an XML Document Object Model (DOM) that contains all of the source XML of the .xsf file.

Applies to