Share via


InfoPathEditor members

Include protected members
Include inherited members

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeInfoPathEditorObject.

The InfoPathEditor type exposes the following members.

Properties

  Name Description
Public property DataConnectionBaseUrl Gets or sets the base URL to be used with data connection files (.UDCX).
Public property Host Gets or sets the object used to access the object model of the host application.
Public property HostName Gets or sets the name of the host application.
Public property XDocument Gets an XDocument object associated with the hosted InfoPathEditor object.

Top

Methods

  Name Description
Public method CloseDocument Closes the active form in the InfoPathEditor object.
Public method FlushDocument Synchronizes the underlying data of the form with changes in the view.
Public method Load Loads a form file (.xml) into the InfoPathEditor object.
Public method LoadFromStream Loads a form file (.xml) from a file stream (System.IO.IStream) into the InfoPathEditor object.
Public method NewFromSolution Creates a new form based on a form template (.xsn) file.
Public method NewFromSolutionWithData Creates a new form based on the specified form template and the data contained in an XML stream.
Public method SetInitEventHandler Sets the event handler in the host application for handling the event that occurs when the form is loaded in the InfoPathEditor object.
Public method SetNotifyHostEventHandler Sets the event handler in the host application for handling the event that occurs when the NotifyHost method of the XDocument object is used to notify the host application.
Public method SetSubmitToHostEventHandler Sets the event handler in the host application for handling the Submit method of the SubmitToHostAdapter object.

Top

See also

Reference

InfoPathEditor interface

Microsoft.Office.Interop.InfoPath namespace