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 InfoPath form templates. When deployed to an appropriately configured document library in Microsoft SharePoint Server 2010 with InfoPath Forms Services, business logic created using this object model will run in both a Web browser and in the InfoPath editor. Optionally, you can write business logic that uses an additional level of functionality available from this object model that will run only in the InfoPath editor.

For information on using the members of this namespace, see Developing InfoPath Form Templates with Code. 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 Object Models and Development Environment.

  ClassDescription
Public class AdoQueryConnectionRepresents a connection for retrieving data from a Microsoft Access or Microsoft SQL Server database.
Public class AdoSubmitConnectionRepresents a connection for submitting data to a Microsoft Access or Microsoft SQL Server database.
Public class ApplicationRepresents the InfoPath application.
Public class BdcQueryConnectionRepresents a data connection for retrieving data from an external list on a server that runs Microsoft SharePoint Foundation 2010 or Microsoft SharePoint Server 2010.
Public class BdcSubmitConnectionRepresents a data connection for submitting data to an external list on a server running Microsoft SharePoint Foundation 2010 or Microsoft SharePoint Server 2010.
Public class ButtonEventImplements the event associated with a Button control on a form.
Public class CertificateRepresents the X.509 digital certificate that has been used to create a signature.
Public class ClickedEventArgsProvides data for the Clicked event.
Public class ContextChangedEventArgsProvides data for the ContextChanged event.
Public class ControlEventsRepresents the collection of all event handlers for the Clicked events raised by the Button controls on a form.
Public class DataConnectionRepresents the base class from which each specific type of data connection is derived.
Public class DataConnectionCollectionContains a data connection object corresponding to each data connection used within a form template.
Public class DataSourceRepresents a data source in a form template.
Public class DataSourceCollectionContains a collection of DataSource objects that represent the data sources used within a form.
Public class EmailSubmitConnectionRepresents the data connection for submitting form information in e-mail.
Public class EnvironmentProvides properties to determine what runtime environment was used to open the form template.
Public class EventManagerUsed to initialize and bind event handlers in the InternalStartup method of a form template.
Public class FileQueryConnectionRepresents a connection for retrieving data from an XML file.
Public class FileSubmitConnectionRepresents a connection to submit form information to a SharePoint Foundation server or other server that supports DAV connections.
Public class FormErrorRepresents an error in the FormErrorCollection of a form.
Public class FormErrorCollectionContains a FormError object for each error in the current form.
Public class FormEventsImplements all of the events that a form template itself can raise.
Public class FormTemplateRepresents a form template.
Public class HtmlTaskPaneRepresents the custom task pane that is associated the current window in which a form is being edited.
Public class LoadingEventArgsProvides data for the Loading event.
Public class MailEnvelopeRepresents a custom e-mail message for sending the current form as an attachment.
Public class ManagedObjectWrapperReserved for internal use.
Public class MergeEventArgsProvides data for the Merge event.
Public class NetworkStateProvides information about the connection state of the client computer and whether a connection can be made to a specified network location.
Public class PermissionProvides access to the UserPermissionCollection and permission settings that can be applied to a form.
Public class SaveCancelEventArgsProvides data to the CancelableArgs property of the SaveEventArgs object.
Public class SaveEventArgsProvides data for the Save event of a form.
Public class ServerInfoProvides information about the SharePoint Foundation server where a form is located.
Public class SharepointListQueryConnectionObsolete. Represents a data connection for retrieving data from a SharePoint list or document library.
Public class SharePointListRWQueryConnectionRepresents a data connection for retrieving data from a SharePoint list or document library.
Public class SharePointListRWSubmitConnectionThe members of this namespace or class are reserved for internal use and are not intended to be used directly from your code.
Public class SignatureRepresents a digital signature that has been added to a form or a set of signed data in a form.
Public class SignatureCollectionContains a Signature object for each digital signature applied to a form or to a set of signable data represented by a SignedDataBlock object.
Public class SignatureLineRepresents a Signature Line control in a view.
Public class SignatureLineCollectionContains all SignatureLine objects in the current view, which represent the Signature Line controls in that view.
Public class SignedDataBlockRepresents a set of data in a form that can be digitally signed.
Public class SignedDataBlockCollectionThe collection of SignedDataBlock objects that correspond to the sets of data in the form template that can be digitally signed.
Public class SignEventArgsProvides data for the Sign event of a form.
Public class SubmitEventArgsProvides data for the Submit event.
Public class SubmitToHostConnectionRepresents a connection for submitting data to a hosting environment.
Public class TaskPaneRepresents the task pane that is associated with the current window in Microsoft InfoPath.
Public class TaskPaneCollectionContains a collection of TaskPane objects that represent the task panes associated with a window in Microsoft InfoPath.
Public class UserProvides properties and a method that can be used to return information about the current user of the form.
Public class UserPermissionRepresents a member of the current form's UserPermissionCollection collection.
Public class UserPermissionCollectionRepresents the collection of UserPermission objects associated with the current form.
Public class VersionUpgradeEventArgsProvides data for the VersionUpgrade event of a form.
Public class ViewRepresents a view within a form.
Public class ViewInfoContains descriptive information about a view within a form.
Public class ViewInfoCollectionContains a ViewInfo object for each view within a form.
Public class ViewSwitchedEventArgsProvides data for the ViewSwitched event of a form.
Public class WebServiceConnectionRepresents a connection to an XML Web service.
Public class WindowRepresents a window that is used in the Microsoft InfoPath application.
Public class WindowCollectionContains a Window object for each InfoPath window that is currently open.
Public class XmlChangingEventArgsProvides data for the Changing event.
Public class XmlEventImplements the events raised by changes to the data in the underlying XML document of a form instance.
Public class XmlEventArgsProvides data for the Changed event.
Public class XmlEventsThe collection of all XmlEvent events for a form template.
Public class XmlFormRepresents the underlying XML document of a form.
Public class XmlFormCancelEventArgsProvides data for the custom message that is displayed when canceling events raised by the form and its underlying XML document.
Public class XmlFormCollectionContains an XmlForm object for each form that is currently open.
Public class XmlFormHostItemThis class is a wrapper for the XmlForm class.
Public class XmlValidatingEventArgsProvides data for the Validating event of a field or group.
Public class XPathTypedValueImplements the object returned by certain property values of the EmailSubmitConnection and FileSubmitConnection classes to get and set those values.
  DelegateDescription
Public delegate ClickedEventHandlerRepresents the method that will handle the Clicked event of a Button control.
Public delegate ContextChangedEventHandlerRepresents the method that will handle the ContextChanged event of a form.
Public delegate LoadingEventHandlerRepresents the method that will handle the Loading event of a form.
Public delegate MergeEventHandlerRepresents the method that will handle the Merge event of a form.
Public delegate SaveEventHandlerRepresents the method that will handle the Save event of a form.
Public delegate SignEventHandlerRepresents the method that will handle the Sign event of a form.
Public delegate SubmitEventHandlerRepresents the method that will handle the Submit event of a form.
Public delegate VersionUpgradeEventHandlerRepresents the method that will handle the VersionUpgrade event of a form.
Public delegate ViewSwitchedEventHandlerRepresents the method that will handle the ViewSwitched event of a form.
Public delegate XmlChangedEventHandlerRepresents the method that will handle the Changed event of a field or group.
Public delegate XmlChangingEventHandlerRepresents the method that will handle the Changing event of a form.
Public delegate XmlValidatingEventHandlerRepresents the method that will handle the Validating event of a field or group.
  EnumerationDescription
Public enumeration ActionTypeSpecifies the editing command to be performed by the ExecuteAction method.
Public enumeration CertificateStatusSpecifies the status of a digital certificate.
Public enumeration EmailAttachmentTypeSpecifies the type of form files attached to an e-mail message.
Public enumeration ErrorModeSpecifies 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.
Public enumeration ExportFormatSpecifies the file format to use when exporting a view.
Public enumeration FormErrorTypeSpecifies the error type of a FormError object in the FormErrorCollection of an InfoPath form.
Public enumeration MachineStateSpecifies the state of the connection for the client computer.
Public enumeration PermissionTypeRepresents a user's permissions.
Public enumeration SignatureAppearanceTypeSpecifies the appearance of a Signature Line control.
Public enumeration SignatureRelationSpecifies the relationship defined for how multiple signatures can be applied to a set of data that can be signed.
Public enumeration SignatureStatusSpecifies the status of a digital signature.
Public enumeration TaskPaneTypeSpecifies the type of task pane that is currently selected.
Public enumeration WindowStateSpecifies the state of the InfoPath application window that is represented by a Window object.
Public enumeration WindowTypeSpecifies the type of InfoPath application window.
Public enumeration XmlFormOpenModeSpecifies how a form will be opened.
Public enumeration XmlOperationIndicates what type of operation occurred during a Changed, Changing, or Validating event.