InfoPathEditorObject interface

A hostable object that is used to integrate the Microsoft InfoPath form editing environment into a .NET-based custom application.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

public interface InfoPathEditorObject : InfoPathEditor

This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, seeInfoPathEditor.

The InfoPathEditor editor object provides various properties and methods to open and close form templates, as well as to communicate with the host environment. The Microsoft.Office.InfoPath.FormControl assembly provides similar functionality for .NET-based custom applications, and the Microsoft.Office.InfoPath.Server assembly provides the hostable XmlFormView control for use in custom Web pages (.aspx).

For more information about the InfoPathEditor and the FormControl objects , see the MSDN article Hosting the InfoPath Form Editing Environment in a Custom Windows Form Application and the "The InfoPath Editor Hosted As a Control" section of What's New for InfoPath Developers. For more information about using the XmlFormView control in custom Web pages, see Hosting the InfoPath Form Editing Environment in a Custom Web Form.