XmlForm Members

Include Protected Members
Include Inherited Members

Represents the underlying XML document of a form.

The XmlForm type exposes the following members.

Constructors

  Name Description
Protected method XmlForm

Top

Properties

  Name Description
Public property CurrentView Gets a View object that represents the current view of the form.
Public property DataConnections Gets a DataConnectionCollection object associated with the form.
Public property DataSources Gets the DataSourceCollection object associated with the form.
Public property Dirty Gets or sets a value that indicates whether the data in a form has been modified since it was last saved.
Public property Environment Gets a Environment object that provides information about which runtime environment (the InfoPath editor, Web browser, or mobile browser) the form is running in.
Public property Errors Gets a reference to the FormErrorCollection that is associated with a form.
Public property Extension Gets an Object for accessing the functions and global variables contained in a form's primary form code file using System.Reflection.
Public property FormState Gets a reference to a property bag of type System.Collections.IDictionary that browser-enabled forms can use to maintain state information across sessions on the server.
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 Hosted Gets whether InfoPath is hosted as a control in another application.
Public property HostName Gets the name of the application hosting InfoPath as a control.
Public property MainDataSource Gets a DataSource object that represents the main data source of the form.
Public property NamespaceManager Gets a reference to a XmlNamespaceManager object that can be used to resolve, add, or remove namespaces used in the form.
Public property NetworkState Gets a NetworkState 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 New Gets a value that specifies whether a form is new.
Public property Permission Gets a reference to a Permission object associated with the form.
Public property QueryDataConnection Gets a reference to the DataConnection object that represents the data connection that is associated with the form.
Public property ReadOnly Gets a value that indicates whether a form template is read-only or locked.
Public property Recovered Gets a value that indicates whether a form was last saved by an AutoRecover save operation.
Public property ServerInfo Gets a ServerInfo object that provides information about the SharePoint server where the form is located.
Public property Signed Gets a value that indicates whether a form has been digitally signed using digital signatures.
Public property SignedDataBlocks Gets a reference to the SignedDataBlockCollection collection that is associated with a form.
Public property TaskPanes Gets a reference to the TaskPaneCollection that is associated with a form template.
Public property Template Gets a reference to the FormTemplate object that represents the manifest (.xsf) of the form template associated with the form.
Public property Uri Gets the Uniform Resource Identifier (URI) of a form.
Public property User Gets a User object that provides information about the current user of the form.
Public property UserRole Gets or sets the current user of the form's role name.
Public property ViewInfos Gets a reference to the ViewInfoCollection object associated with the form template.
Public property XmlLang Gets or sets the value of the xml:lang attribute in the underlying XML document of the form.

Top

Methods

  Name Description
Public method Close Closes the form.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
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.
Protected method MemberwiseClone (Inherited from Object.)
Public method MergeForm(String) Merges the current form with the form specified by path or URL.
Public method MergeForm(XPathNavigator) Merges the current form with the target form specified in the node returned by the XPathNavigator passed to the method.
Public method NotifyHost Provides a custom value to the hosting application or ASPX page.
Public method Print() Prints the form content as it is rendered in the form's active view.
Public method Print(Boolean) Prints the form content as it is rendered the form's active view by displaying the Print dialog box.
Public method Save Saves the form to the Uniform Resource Locator (URL) that it is currently associated with.
Public method SaveAs Saves the form to the specified Uniform Resource Locator (URL).
Public method SetSaveAsDialogFilename Sets the default filename for the SaveAs dialog box.
Public method SetSaveAsDialogLocation Sets the default path for saving the form using the SaveAs dialog box.
Public method Submit Submits the form using the submit operation defined in the form template.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

XmlForm Class

Microsoft.Office.InfoPath Namespace