Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

XmlForm Properties (Microsoft.Office.InfoPath)

  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

Community Additions

ADD
Show:
© 2015 Microsoft