Edit

Share via


_XDocument3 Interface

Definition

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.

public interface class _XDocument3 : Microsoft::Office::Interop::InfoPath::_XDocument2
[System.Runtime.InteropServices.Guid("096CD6B6-0786-11D1-95FA-0080C78EE3BB")]
public interface _XDocument3 : Microsoft.Office.Interop.InfoPath._XDocument2
type _XDocument3 = interface
    interface _XDocument2
Public Interface _XDocument3
Implements _XDocument2
Derived
Attributes
Implements

Properties

DataAdapters

Gets a reference to the DataAdaptersCollection collection that is associated with a form.

DataObjects

Gets a reference to the DataObjectsCollection collection that is associated with a form.

DOM

Gets a reference to a form's underlying XML document in the form of an XML Document Object Model (DOM).

Errors

Gets a reference to the ErrorsCollection that is associated with a form.

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.

Host

Gets a System.Object that code running in a hosted instance of InfoPath can use to access the object model of the host application.

HostName

Gets the name of the application hosting InfoPath as a control.

InputParameters

Gets an InputParameterCollection object containing any input parameters specified using the /InputParameters command-line option, or specified using query parameters in a URL.

IsDirty

Gets a value that indicates whether the data in a Microsoft Office InfoPath form has been modified since it was last saved.

IsDOMReadOnly

Gets a value that indicates whether the data in the underlying XML document of a Microsoft Office InfoPath form has been placed in a read-only state.

IsHosted

Gets whether InfoPath is hosted as a control in another application.

IsNew

Gets a value that indicates whether a newly created Microsoft Office InfoPath form has been saved.

IsReadOnly

Gets a value that indicates whether a Microsoft Office InfoPath form is in read-only mode.

IsRecovered

Gets a value that indicates whether a Microsoft Office InfoPath form was last saved by an AutoRecover save operation.

IsSigned

Gets a value that indicates whether a Microsoft Office InfoPath form has been digitally signed using digital signatures.

Language

Gets or sets a Microsoft Office InfoPath form's default language code.

Permission

Gets a reference to a PermissionObject object associated with the form.

QueryAdapter

Gets a reference to the data adapter object that is associated with a Microsoft Office InfoPath form

Role

Gets or sets the user's current role.

SignedDataBlocks

Gets a reference to the SignedDataBlocksCollection collection that is associated with an XDocument object.

Solution

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

UI

Returns a reference to the UIObject object.

URI

Gets the Uniform Resource Identifier (URI) of a Microsoft Office InfoPath form.

Util

Gets a reference to the UtilObject object.

View

Gets a reference to the ViewObject associated with a Microsoft Office InfoPath form.

ViewInfos

Gets a reference to the ViewInfosCollection collection associated with a Microsoft Office InfoPath form.

Methods

CloseDocument()

Closes the form.

CreateDOM()

Creates a new instance of the XML Document Object Model (DOM) in memory.

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.

GetDOM(String)

Gets a reference to the XML Document Object Model (DOM) of the specified DataSourceObject object associated with the XDocument object.

GetNamedNodeProperty(Object, String, String)

Gets the value of a named property for the specified XML node, which must be a nonattribute node in the main data source.

GetWorkflowTasks()

Gets a reference to a Microsoft.Office.Core.WorkflowTasks collection for the current form.

GetWorkflowTemplates()

Gets a reference to a Microsoft.Office.Core.WorkflowTemplates collection for the current form.

ImportDOM(IXMLDOMDocument)

Imports the specified XML data into the current form.

ImportFile(String)

Imports the specified form into the current form.

NotifyHost(String)

Provides a custom value to the hosting application or ASPX page.

PrintOut()

Prints the form content as it is rendered in the window corresponding to the form's active view.

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).

Save()

Saves the form to the Uniform Resource Locator (URL) that it is currently associated with.

SaveAs(String)

Saves the form to the specified Uniform Resource Locator (URL).

SetDataVariable(Int32, String)

Sets the value of a predefined variable stored as a processing instruction attribute in the form's underlying XML document.

SetDirty(Boolean)

Sets the IsDirty property for the XDocument object, which indicates whether the data in a Microsoft Office InfoPath form has been modified since it was last saved.

SetNamedNodeProperty(IXMLDOMNode, String, String)

Sets the value of a named property for the supplied XML node, which must be a nonattribute node in the main data source.

Submit()

Executes the predefined submit operation in a Microsoft Office InfoPath form.

Applies to