MSDN Library

InfoPathEditor methods

The InfoPathEditor type exposes the following members.

  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
Show:
© 2016 Microsoft