Solution2.DOM Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a reference to an XML Document Object Model (DOM) that contains the source XML of the form definition (.xsf) file.
public:
property Microsoft::Office::Interop::InfoPath::Xml::IXMLDOMDocument ^ DOM { Microsoft::Office::Interop::InfoPath::Xml::IXMLDOMDocument ^ get(); };
public Microsoft.Office.Interop.InfoPath.Xml.IXMLDOMDocument DOM { get; }
member this.DOM : Microsoft.Office.Interop.InfoPath.Xml.IXMLDOMDocument
Public ReadOnly Property DOM As IXMLDOMDocument
Property Value
A reference to an IXMLDOMDocument object that represents the source XML of the form definition file (.xsf).
Implements
Examples
In the following example, the DOM property of the SolutionObject object is used to return all of the contents of a form's .xsf file using the xml property of the XML DOM:
string xml = thisXDocument.Solution2.<span class="label">DOM</span>.xml;
Remarks
The DOM property allows you to programmatically access and manipulate the source XML of the .xsf file. After you have set a reference to the XML DOM, which contains the source XML data of the .xsf file, you can use any of the properties and methods that are supported by the XML DOM.