XDocument Members

Include Protected Members
Include Inherited Members

Represents the underlying XML document of a form.

The XDocument type exposes the following members.

Properties

  Name Description
Public property DataAdapters Gets a reference to the DataAdaptersCollection collection that is associated with a form. (Inherited from _XDocument2.)
Public property DataObjects This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.DataObjects. (Inherited from _XDocument.)
Public property DataObjects Gets a reference to the DataObjectsCollection collection that is associated with a form. (Inherited from _XDocument2.)
Public property DOM This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.DOM. (Inherited from _XDocument.)
Public property DOM Gets a reference to a form's underlying XML document in the form of an XML Document Object Model (DOM). (Inherited from _XDocument2.)
Public property Errors This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.Errors. (Inherited from _XDocument.)
Public property Errors Gets a reference to the ErrorsCollection that is associated with a form. (Inherited from _XDocument2.)
Public property Extension This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.Extension. (Inherited from _XDocument.)
Public property Extension Gets a reference to the global scripting object, which exposes the functions and global variables contained in a form's primary form code file. (Inherited from _XDocument2.)
Public property IsDirty This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.IsDirty. (Inherited from _XDocument.)
Public property IsDirty Gets a value that indicates whether the data in a form has been modified since it was last saved. (Inherited from _XDocument2.)
Public property IsDOMReadOnly This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.IsDOMReadOnly. (Inherited from _XDocument.)
Public property IsDOMReadOnly Gets a value that indicates whether the data in the underlying XML document of a form has been placed in a read-only state. (Inherited from _XDocument2.)
Public property IsNew This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.IsNew. (Inherited from _XDocument.)
Public property IsNew Gets a value that indicates whether a newly created form has been saved. (Inherited from _XDocument2.)
Public property IsReadOnly This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.IsReadOnly. (Inherited from _XDocument.)
Public property IsReadOnly Gets a value that indicates whether a form is in read-only mode. (Inherited from _XDocument2.)
Public property IsRecovered Gets a value that indicates whether a form was last saved by an AutoRecover save operation. (Inherited from _XDocument2.)
Public property IsSigned This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.IsSigned. (Inherited from _XDocument.)
Public property IsSigned Gets a value that indicates whether a form has been digitally signed using digital signatures. (Inherited from _XDocument2.)
Public property Language This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.Language. (Inherited from _XDocument.)
Public property Language Gets or sets a form's default language code. (Inherited from _XDocument2.)
Public property QueryAdapter This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.QueryAdapter. (Inherited from _XDocument.)
Public property QueryAdapter Gets a reference to the data adapter object that is associated with a form. (Inherited from _XDocument2.)
Public property Role Gets or sets the user's current role. (Inherited from _XDocument2.)
Public property SignedDataBlocks Gets a reference to the SignedDataBlocksCollection collection that is associated with an XDocument object. (Inherited from _XDocument2.)
Public property Solution This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.Solution. (Inherited from _XDocument.)
Public property Solution Gets a reference to the SolutionObject object that is associated with a form. (Inherited from _XDocument2.)
Public property UI This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.UI. (Inherited from _XDocument.)
Public property UI Returns a reference to UIObject object. (Inherited from _XDocument2.)
Public property URI This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.URI. (Inherited from _XDocument.)
Public property URI Gets the Uniform Resource Identifier (URI) of a form. (Inherited from _XDocument2.)
Public property Util Gets a reference to UtilObject object. (Inherited from _XDocument2.)
Public property View This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.View. (Inherited from _XDocument.)
Public property View Gets a reference to the ViewObject associated with a form. (Inherited from _XDocument2.)
Public property ViewInfos This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.ViewInfos. (Inherited from _XDocument.)
Public property ViewInfos Gets a reference to the ViewInfosCollection collection associated with a form. (Inherited from _XDocument2.)

Top

Methods

  Name Description
Public method CreateDOM Creates a new instance of the XML Document Object Model (DOM) in memory. (Inherited from _XDocument2.)
Public method GetDataVariable(Int32) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.GetDataVariable. (Inherited from _XDocument.)
Public method GetDataVariable(Int32) 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. (Inherited from _XDocument2.)
Public method GetDOM(String) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.GetDOM. (Inherited from _XDocument.)
Public method GetDOM(String) Gets a reference to the XML Document Object Model (DOM) of the specified DataSourceObject object associated with the XDocument object. (Inherited from _XDocument2.)
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. (Inherited from _XDocument2.)
Public method ImportDOM Imports the specified XML data into the current form. (Inherited from _XDocument2.)
Public method ImportFile(String) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.ImportFile. (Inherited from _XDocument.)
Public method ImportFile(String) Imports the specified form into the current form. (Inherited from _XDocument2.)
Public method PrintOut() This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.PrintOut. (Inherited from _XDocument.)
Public method PrintOut() Prints the form content as it is rendered in the window corresponding to the form's active view. (Inherited from _XDocument2.)
Public method Query() This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.Query. (Inherited from _XDocument.)
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). (Inherited from _XDocument2.)
Public method Save() This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.Save. (Inherited from _XDocument.)
Public method Save() Saves the form to the Uniform Resource Locator (URL) that it is currently associated with. (Inherited from _XDocument2.)
Public method SaveAs(String) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.SaveAs. (Inherited from _XDocument.)
Public method SaveAs(String) Saves the form to the specified Uniform Resource Locator (URL). (Inherited from _XDocument2.)
Public method SetDataVariable(Int32, String) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.SetDataVariable. (Inherited from _XDocument.)
Public method SetDataVariable(Int32, String) Sets the value of a predefined variable stored as a processing instruction attribute in the form's underlying XML document. (Inherited from _XDocument2.)
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. (Inherited from _XDocument2.)
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. (Inherited from _XDocument2.)
Public method Submit() This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_XDocument2.Submit. (Inherited from _XDocument.)
Public method Submit() Executes the predefined submit operation in a form. (Inherited from _XDocument2.)

Top

See Also

Reference

XDocument Interface

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace