_XDocument4 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 _XDocument4 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 _XDocument3.)
Public property DataAdapters Gets a reference to the DataAdaptersCollection collection that is associated with a Microsoft InfoPath form.
Public property DataObjects Gets a reference to the DataObjectsCollection collection that is associated with a form. (Inherited from _XDocument3.)
Public property DataObjects Gets a reference to the DataObjectsCollection collection that is associated with a Microsoft InfoPath form.
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 _XDocument3.)
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 Gets a reference to the ErrorsCollection that is associated with a form. (Inherited from _XDocument3.)
Public property Errors Gets a reference to the ErrorsCollection that is associated with a Microsoft InfoPath form.
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 _XDocument3.)
Public property 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.
Public property 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. (Inherited from _XDocument3.)
Public property 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.
Public property HostName Gets the name of the application hosting InfoPath as a control. (Inherited from _XDocument3.)
Public property HostName Gets the name of the application hosting InfoPath as a control.
Public property InputParameters Gets an InputParameterCollection object containing any input parameters specified using the /InputParameters command-line option, or specified using query parameters in a URL. (Inherited from _XDocument3.)
Public property InputParameters Gets an InputParameterCollection object containing any input parameters specified using the /InputParameters command-line option, or specified using query parameters in a URL.
Public property IsDirty Gets a value that indicates whether the data in a Microsoft Office InfoPath form has been modified since it was last saved. (Inherited from _XDocument3.)
Public property IsDirty Gets a value that indicates whether the data in a Microsoft InfoPath form has been modified since it was last saved.
Public property 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. (Inherited from _XDocument3.)
Public property 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.
Public property IsHosted Gets whether InfoPath is hosted as a control in another application. (Inherited from _XDocument3.)
Public property IsHosted Gets whether InfoPath is hosted as a control in another application.
Public property IsNew Gets a value that indicates whether a newly created Microsoft Office InfoPath form has been saved. (Inherited from _XDocument3.)
Public property IsNew Gets a value that indicates whether a newly created Microsoft InfoPath form has been saved.
Public property IsReadOnly Gets a value that indicates whether a Microsoft Office InfoPath form is in read-only mode. (Inherited from _XDocument3.)
Public property IsReadOnly Gets a value that indicates whether a Microsoft InfoPath form is in read-only mode.
Public property IsRecovered Gets a value that indicates whether a Microsoft Office InfoPath form was last saved by an AutoRecover save operation. (Inherited from _XDocument3.)
Public property IsRecovered Gets a value that indicates whether a Microsoft InfoPath form was last saved by an AutoRecover save operation.
Public property IsSigned Gets a value that indicates whether a Microsoft Office InfoPath form has been digitally signed using digital signatures. (Inherited from _XDocument3.)
Public property IsSigned Gets a value that indicates whether a Microsoft InfoPath form has been digitally signed using digital signatures.
Public property Language Gets or sets a Microsoft Office InfoPath form's default language code. (Inherited from _XDocument3.)
Public property Language Gets or sets a Microsoft InfoPath form's default language code.
Public property 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.
Public property Permission Gets a reference to a PermissionObject object associated with the form. (Inherited from _XDocument3.)
Public property Permission Gets a reference to a PermissionObject object associated with the form.
Public property QueryAdapter Gets a reference to the data adapter object that is associated with a Microsoft Office InfoPath form (Inherited from _XDocument3.)
Public property QueryAdapter Gets a reference to the data adapter object that is associated with a Microsoft InfoPath form.
Public property Role Gets or sets the user's current role. (Inherited from _XDocument3.)
Public property Role Gets or sets the user's current role.
Public property ServerInfo Gets a ServerInfoObject object that provides information about the SharePoint server where the form is located.
Public property SignedDataBlocks Gets a reference to the SignedDataBlocksCollection collection that is associated with an XDocument object. (Inherited from _XDocument3.)
Public property SignedDataBlocks Gets a reference to the SignedDataBlocksCollection collection that is associated with an XDocument object.
Public property Solution Gets a reference to the SolutionObject object that is associated with a Microsoft Office InfoPath form. (Inherited from _XDocument3.)
Public property Solution Gets a reference to the SolutionObject object that is associated with a Microsoft InfoPath form.
Public property UI Returns a reference to the UIObject object. (Inherited from _XDocument3.)
Public property UI Returns a reference to UIObject object.
Public property URI Gets the Uniform Resource Identifier (URI) of a Microsoft Office InfoPath form. (Inherited from _XDocument3.)
Public property URI Gets the Uniform Resource Identifier (URI) of a Microsoft InfoPath form.
Public property User Gets a reference to a UserObject object.
Public property Util Gets a reference to the UtilObject object. (Inherited from _XDocument3.)
Public property Util Gets a reference to a UtilObject object.
Public property View Gets a reference to the ViewObject associated with a Microsoft Office InfoPath form. (Inherited from _XDocument3.)
Public property View Gets a reference to the ViewObject associated with a Microsoft InfoPath form.
Public property ViewInfos Gets a reference to the ViewInfosCollection collection associated with a Microsoft Office InfoPath form. (Inherited from _XDocument3.)
Public property ViewInfos Gets a reference to the ViewInfosCollection collection associated with a Microsoft InfoPath form.

Top

Methods

  Name Description
Public method CloseDocument() Closes the form. (Inherited from _XDocument3.)
Public method CloseDocument() Closes the form.
Public method CreateDOM() Creates a new instance of the XML Document Object Model (DOM) in memory. (Inherited from _XDocument3.)
Public method CreateDOM() Creates a new instance of the XML Document Object Model (DOM) in memory.
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 _XDocument3.)
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) Gets a reference to the XML Document Object Model (DOM) of the specified DataSourceObject object associated with the XDocument object. (Inherited from _XDocument3.)
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(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. (Inherited from _XDocument3.)
Public method 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.
Public method GetWorkflowTasks() Gets a reference to a Microsoft.Office.Core.WorkflowTasks collection for the current form. (Inherited from _XDocument3.)
Public method GetWorkflowTasks() Gets a reference to a Microsoft.Office.Core.WorkflowTasks collection for the current form.
Public method GetWorkflowTemplates() Gets a reference to a Microsoft.Office.Core.WorkflowTemplates collection for the current form. (Inherited from _XDocument3.)
Public method GetWorkflowTemplates() Gets a reference to a Microsoft.Office.Core.WorkflowTemplates collection for the current form.
Public method ImportDOM(IXMLDOMDocument) Imports the specified XML data into the current form. (Inherited from _XDocument3.)
Public method ImportDOM(IXMLDOMDocument) Imports the specified XML data into the current form.
Public method ImportFile(String) Imports the specified form into the current form. (Inherited from _XDocument3.)
Public method ImportFile(String) Imports the specified form into the current form.
Public method NotifyHost(String) Provides a custom value to the hosting application or ASPX page. (Inherited from _XDocument3.)
Public method NotifyHost(String) Provides a custom value to the hosting application or ASPX page.
Public method PrintOut() Prints the form content as it is rendered in the window corresponding to the form's active view. (Inherited from _XDocument3.)
Public method PrintOut() Prints the form content as it is rendered in the window corresponding to the form's active view.
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 _XDocument3.)
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() Saves the form to the Uniform Resource Locator (URL) that it is currently associated with. (Inherited from _XDocument3.)
Public method Save() Saves the form to the Uniform Resource Locator (URL) that it is currently associated with.
Public method SaveAs(String) Saves the form to the specified Uniform Resource Locator (URL). (Inherited from _XDocument3.)
Public method SaveAs(String) Saves the form to the specified Uniform Resource Locator (URL).
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 _XDocument3.)
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(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. (Inherited from _XDocument3.)
Public method 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.
Public method 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. (Inherited from _XDocument3.)
Public method 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.
Public method Submit() Executes the predefined submit operation in a Microsoft Office InfoPath form. (Inherited from _XDocument3.)
Public method Submit() Executes the predefined submit operation in a Microsoft InfoPath form.

Top

See also

Reference

_XDocument4 interface

Microsoft.Office.Interop.InfoPath namespace