Microsoft.Office.InfoPath Namespace
The types and members of the Microsoft.Office.InfoPath namespace provide a core set of functionality for creating custom business logic in Microsoft Office InfoPath 2007 form templates. When deployed to Microsoft Office Forms Server 2007 or to an appropriately configured document library in Office SharePoint Server 2007, business logic created using this object model will run in both a Web browser and in Office InfoPath 2007. Optionally, you can write business logic that uses an additional level of functionality available from this object model that will run only in form templates opened for editing in Office InfoPath 2007.
For information on using the members of this namespace, see Developing InfoPath Managed Code Form Templates. For information on the differences between the object models provided by the Microsoft.Office.InfoPath and Microsoft.Office.Interop.InfoPath.SemiTrust namespaces, see Understanding InfoPath 2007 Object Models and Development Environments.
| Class | Description | |
|---|---|---|
![]() | AdoQueryConnection | Represents a connection for retrieving data from a Microsoft Access or Microsoft SQL Server database. |
![]() | AdoSubmitConnection | Represents a connection for submitting data to a Microsoft Access or Microsoft SQL Server database. |
![]() | Application | Represents the Microsoft Office InfoPath 2007 application. |
![]() | ButtonEvent | Implements the event associated with a Button control on a form. |
![]() | Certificate | Represents the X.509 digital certificate that has been used to create a signature. |
![]() | ClickedEventArgs | Provides data for the Clicked event. |
![]() | ContextChangedEventArgs | Provides data for the ContextChanged event. |
![]() | ControlEvents | Represents the collection of all event handlers for the Clicked events raised by the Button controls on a form. |
![]() | DataConnection | Represents the base class from which each specific type of data connection is derived. |
![]() | DataConnectionCollection | Contains a data connection object corresponding to each data connection used within a form template. |
![]() | DataSource | Represents a data source in a form template. |
![]() | DataSourceCollection | Contains a collection of DataSource objects that represent the data sources used within a form. |
![]() | EmailSubmitConnection | Represents the data connection for submitting form information in e-mail. |
![]() | Environment | Provides properties to determine what runtime environment was used to open the form template. |
![]() | EventManager | Used to initialize and bind event handlers in the InternalStartup method of a form template. |
![]() | FileQueryConnection | Represents a connection for retrieving data from an XML file. |
![]() | FileSubmitConnection | Represents a connection to submit form information to a Microsoft Windows SharePoint Services server or other server that supports DAV connections. |
![]() | FormError | Represents an error in the FormErrorCollection of a form. |
![]() | FormErrorCollection | Contains a FormError object for each error in the current form. |
![]() | FormEvents | Implements all of the events that a form template itself can raise. |
![]() | FormTemplate | Represents a form template. |
![]() | HtmlTaskPane | Represents the custom task pane that is associated the current window in which a form is being edited. |
![]() | LoadingEventArgs | Provides data for the Loading event. |
![]() | MailEnvelope | Represents a custom e-mail message for sending the current form as an attachment. |
![]() | ManagedObjectWrapper | |
![]() | MergeEventArgs | Provides data for the Merge event. |
![]() | Permission | Provides access to the UserPermissionCollection and permission settings that can be applied to a form. |
![]() | SaveCancelEventArgs | Provides data to the CancelableArgs property of the SaveEventArgs object. |
![]() | SaveEventArgs | Provides data for the Save event of a form. |
![]() | SharepointListQueryConnection | Represents a connection for retrieving data from a SharePoint list or document library. |
![]() | Signature | Represents a digital signature that has been added to a form or a set of signed data in a form. |
![]() | SignatureCollection | Contains a Signature object for each digital signature applied to a form or to a set of signable data represented by a SignedDataBlock object. |
![]() | SignedDataBlock | Represents a set of data in a form that can be signed. |
![]() | SignedDataBlockCollection | The collection of SignedDataBlock objects that correspond to the sets of signable data in the form template as defined in the form definition file (.xsf). |
![]() | SignEventArgs | Provides data for the Sign event of a form. |
![]() | SubmitEventArgs | Provides data for the Submit event. |
![]() | SubmitToHostConnection | Represents a connection for submitting data to a hosting environment. |
![]() | TaskPane | Represents the task pane that is associated with the current window in Microsoft Office InfoPath 2007. |
![]() | TaskPaneCollection | Contains a collection of TaskPane objects that represent the task panes associated with a window in Microsoft Office InfoPath 2007. |
![]() | User | Provides properties and a method that can be used to return information about the current user. |
![]() | UserPermission | Represents a member of the current form's UserPermissionCollection collection. |
![]() | UserPermissionCollection | Represents the collection of UserPermission objects associated with the current form. |
![]() | VersionUpgradeEventArgs | Provides data for the VersionUpgrade event of a form. |
![]() | View | Represents a view within a form. |
![]() | ViewInfo | Contains descriptive information about a view within a form. |
![]() | ViewInfoCollection | Contains a ViewInfo object for each view within a form. |
![]() | ViewSwitchedEventArgs | Provides data for the ViewSwitched event of a form. |
![]() | WebServiceConnection | Represents a connection to an XML Web service. |
![]() | Window | Represents a window that is used in the Microsoft Office InfoPath 2007 application. |
![]() | WindowCollection | Contains a Window object for each InfoPath window that is currently open. |
![]() | XmlChangingEventArgs | Provides data for the Changing event. |
![]() | XmlEvent | Implements the events raised by changes to the data in the underlying XML document of a form instance. |
![]() | XmlEventArgs | Provides data for the Changed event. |
![]() | XmlEvents | The collection of all XmlEvent events for a form template. |
![]() | XmlForm | Represents the underlying XML document of a form. |
![]() | XmlFormCancelEventArgs | Provides data for the custom message that is displayed when canceling events raised by the form and its underlying XML document. |
![]() | XmlFormCollection | Contains an XmlForm object for each form that is currently open. |
![]() | XmlFormHostItem | This class is a wrapper for the XmlForm class. |
![]() | XmlValidatingEventArgs | Provides data for the Validating event of a field or group. |
![]() | XPathTypedValue | Implements the object returned by certain property values of the EmailSubmitConnection and FileSubmitConnection classes to get and set those values. |
| Delegate | Description | |
|---|---|---|
![]() | ClickedEventHandler | Represents the method that will handle the Clicked event of a Button control. |
![]() | ContextChangedEventHandler | Represents the method that will handle the ContextChanged event of a form. |
![]() | LoadingEventHandler | Represents the method that will handle the Loading event of a form. |
![]() | MergeEventHandler | Represents the method that will handle the Merge event of a form. |
![]() | SaveEventHandler | Represents the method that will handle the Save event of a form. |
![]() | SignEventHandler | Represents the method that will handle the Sign event of a form. |
![]() | SubmitEventHandler | Represents the method that will handle the Submit event of a form. |
![]() | VersionUpgradeEventHandler | Represents the method that will handle the VersionUpgrade event of a form. |
![]() | ViewSwitchedEventHandler | Represents the method that will handle the ViewSwitched event of a form. |
![]() | XmlChangedEventHandler | Represents the method that will handle the Changed event of a field or group. |
![]() | XmlChangingEventHandler | Represents the method that will handle the Changing event of a form. |
![]() | XmlValidatingEventHandler | Represents the method that will handle the Validating event of a field or group. |
| Enumeration | Description | |
|---|---|---|
![]() | ActionType | Specifies the editing command to be performed by the ExecuteAction method. |
![]() | CertificateStatus | Specifies the status of a digital certificate. |
![]() | EmailAttachmentType | Specifies the type of form files attached to an e-mail message. |
![]() | ErrorMode | Specifies whether the custom error will be displayed in a modal dialog box or in modeless context within the control that is the source of the error. |
![]() | ExportFormat | Specifies the file format to use when exporting a view. |
![]() | FormErrorType | Specifies the error type of a FormError object in the FormErrorCollection of an InfoPath form. |
![]() | MachineState | Specifies the state of the connection for the client computer. |
![]() | PermissionType | Represents a user's permissions. |
![]() | SignatureRelation | Specifies the relationship defined for how multiple signatures can be applied to a set of data that can be signed. |
![]() | SignatureStatus | Specifies the status of a digital signature. |
![]() | TaskPaneType | Specifies the type of task pane that is currently selected. |
![]() | WindowState | Specifies the state of the InfoPath application window that is represented by a Window object. |
![]() | WindowType | Specifies the type of InfoPath application window. |
![]() | XmlFormOpenMode | Specifies how a form will be opened. |
![]() | XmlOperation | Indicates what type of operation occurred during a Changed, Changing, or Validating event. |


