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 | |
---|---|---|
XmlForm |
Top
Properties
Name | Description | |
---|---|---|
CurrentView | Gets a View object that represents the current view of the form. | |
DataConnections | Gets a DataConnectionCollection object associated with the form. | |
DataSources | Gets the DataSourceCollection object associated with the form. | |
Dirty | Gets or sets a value that indicates whether the data in a form has been modified since it was last saved. | |
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. | |
Errors | Gets a reference to the FormErrorCollection that is associated with a form. | |
Extension | Gets an Object for accessing the functions and global variables contained in a form's primary form code file using System.Reflection. | |
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. | |
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. | |
Hosted | Gets whether InfoPath is hosted as a control in another application. | |
HostName | Gets the name of the application hosting InfoPath as a control. | |
MainDataSource | Gets a DataSource object that represents the main data source of the form. | |
NamespaceManager | Gets a reference to a XmlNamespaceManager object that can be used to resolve, add, or remove namespaces used in the form. | |
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. | |
New | Gets a value that specifies whether a form is new. | |
Permission | Gets a reference to a Permission object associated with the form. | |
QueryDataConnection | Gets a reference to the DataConnection object that represents the data connection that is associated with the form. | |
ReadOnly | Gets a value that indicates whether a form template is read-only or locked. | |
Recovered | Gets a value that indicates whether a form was last saved by an AutoRecover save operation. | |
ServerInfo | Gets a ServerInfo object that provides information about the SharePoint server where the form is located. | |
Signed | Gets a value that indicates whether a form has been digitally signed using digital signatures. | |
SignedDataBlocks | Gets a reference to the SignedDataBlockCollection collection that is associated with a form. | |
TaskPanes | Gets a reference to the TaskPaneCollection that is associated with a form template. | |
Template | Gets a reference to the FormTemplate object that represents the manifest (.xsf) of the form template associated with the form. | |
Uri | Gets the Uniform Resource Identifier (URI) of a form. | |
User | Gets a User object that provides information about the current user of the form. | |
UserRole | Gets or sets the current user of the form's role name. | |
ViewInfos | Gets a reference to the ViewInfoCollection object associated with the form template. | |
XmlLang | Gets or sets the value of the xml:lang attribute in the underlying XML document of the form. |
Top
Methods
Name | Description | |
---|---|---|
Close | Closes the form. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
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. | |
MemberwiseClone | (Inherited from Object.) | |
MergeForm(String) | Merges the current form with the form specified by path or URL. | |
MergeForm(XPathNavigator) | Merges the current form with the target form specified in the node returned by the XPathNavigator passed to the method. | |
NotifyHost | Provides a custom value to the hosting application or ASPX page. | |
Print() | Prints the form content as it is rendered in the form's active view. | |
Print(Boolean) | Prints the form content as it is rendered the form's active view by displaying the Print dialog box. | |
Save | Saves the form to the Uniform Resource Locator (URL) that it is currently associated with. | |
SaveAs | Saves the form to the specified Uniform Resource Locator (URL). | |
SetSaveAsDialogFilename | Sets the default filename for the SaveAs dialog box. | |
SetSaveAsDialogLocation | Sets the default path for saving the form using the SaveAs dialog box. | |
Submit | Submits the form using the submit operation defined in the form template. | |
ToString | (Inherited from Object.) |
Top