Export (0) Print
Expand All

XmlForm Members (Microsoft.Office.InfoPath)

Represents the underlying XML document of a form.

The following tables list the members exposed by the XmlForm type.

  Name Description
Protected method XmlForm  
Top

  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 a value that indicates whether the data in a form has been modified since it was last saved.
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 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 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 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 the value of the xml:lang attribute in the underlying XML document of the form.
Top

(see also Protected Methods )
  Name Description
Public method Close Closes the form.
Public method Equals  Overloaded. (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.
Public method MergeForm Overloaded. Merges the current form with the specified form.
Public method NotifyHost Provides a custom value to the hosting application or ASPX page.
Public method Print Overloaded. Prints the form content as it is rendered in the form's active view.
Public method Static ReferenceEquals  (inherited from Object)
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

  Name Description
Protected method Finalize  (inherited from Object)
Protected method MemberwiseClone  (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft