Edit

Share via


_XDocument4 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 _XDocument4 : Microsoft::Office::Interop::InfoPath::_XDocument3
[System.Runtime.InteropServices.Guid("096CD77B-0786-11D1-95FA-0080C78EE3BB")]
public interface _XDocument4 : Microsoft.Office.Interop.InfoPath._XDocument3
type _XDocument4 = interface
    interface _XDocument3
Public Interface _XDocument4
Implements _XDocument3
Derived
Attributes
Implements

Properties

DataAdapters

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

DataObjects

Gets a reference to the DataObjectsCollection collection that is associated with a Microsoft InfoPath 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 Microsoft InfoPath form.

Extension

Gets a reference to the global scripting object, which exposes the functions and global variables contained in a Microsoft InfoPath 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 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 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 InfoPath form has been saved.

IsReadOnly

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

IsRecovered

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

IsSigned

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

Language

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

NetworkState

Gets a XDNetworkState object that provides information about the connection state of the client computer or whether a connection can be made to the specified network destination.

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 InfoPath form.

Role

Gets or sets the user's current role.

ServerInfo

Gets a ServerInfoObject object that provides information about the SharePoint server where the form is located.

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 InfoPath form.

UI

Returns a reference to UIObject object.

URI

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

User

Gets a reference to a UserObject object.

Util

Gets a reference to a UtilObject object.

View

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

ViewInfos

Gets a reference to the ViewInfosCollection collection associated with a Microsoft 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 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 InfoPath form.

Applies to