_XDocument2 members

Include protected members
Include inherited members

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeXDocument.

The _XDocument2 type exposes the following members.

Properties

  Name Description
Public property DataAdapters Gets a reference to the DataAdaptersCollection collection that is associated with a form.
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.
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).
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.
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.
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.
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.
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.
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.
Public property IsRecovered Gets a value that indicates whether a form was last saved by an AutoRecover save operation.
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.
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.
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.
Public property Role Gets or sets the user's current role.
Public property SignedDataBlocks Gets a reference to the SignedDataBlocksCollection collection that is associated with an XDocument object.
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.
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.
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.
Public property Util Gets a reference to UtilObject object.
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.
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.

Top

Methods

  Name Description
Public method CreateDOM Creates a new instance of the XML Document Object Model (DOM) in memory.
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.
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.
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.
Public method ImportDOM Imports the specified XML data into the current form.
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.
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.
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).
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.
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).
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.
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.
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.
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.

Top

See also

Reference

_XDocument2 interface

Microsoft.Office.Interop.InfoPath.SemiTrust namespace