Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

_XDocument2 Methods (Microsoft.Office.Interop.InfoPath.SemiTrust)

  Name Description
Public method CreateDOM
Creates a new instance of the XML Document Object Model (DOM) in memory.

This method is not CLS-compliant.
Public method GetDataVariable
Gets the value of the specified variable, which is a predefined variable stored as a processing instruction attribute in the form's underlying XML document.

This method is not CLS-compliant.
Public method GetDOM
Gets a reference to the XML Document Object Model (DOM) of the specified DataSourceObject object associated with the XDocument object.

This method is not CLS-compliant.
Public method GetNamedNodeProperty
Gets the value of a named property for the specified XML node, which must be a nonattribute node in the main data source.

This method is not CLS-compliant.
Public method ImportDOM
Imports the specified XML data into the current form.

This method is not CLS-compliant.
Public method ImportFile
Imports the specified form into the current form.

This method is not CLS-compliant.
Public method PrintOut
Prints the form content as it is rendered in the window corresponding to the form's active view.

This method is not CLS-compliant.
Public method Query
Retrieves data from a form's associated data adapter object and stores the data in the form's underlying XML Document Object Model (DOM).

This method is not CLS-compliant.
Public method Save
Saves the form to the Uniform Resource Locator (URL) that it is currently associated with.

This method is not CLS-compliant.
Public method SaveAs
Saves the form to the specified Uniform Resource Locator (URL).

This method is not CLS-compliant.
Public method SetDataVariable
Sets the value of a predefined variable stored as a processing instruction attribute in the form's underlying XML document.

This method is not CLS-compliant.
Public method SetDirty
Sets the IsDirty property for the XDocument object, which indicates whether the data in a form has been modified since it was last saved.

This method is not CLS-compliant.
Public method SetNamedNodeProperty
Sets the value of a named property for the supplied XML node, which must be a nonattribute node in the main data source.

This method is not CLS-compliant.
Public method Submit
Executes the predefined submit operation in a form.

This method is not CLS-compliant.
Top

Community Additions

ADD
Show:
© 2015 Microsoft