InfoPathEditor Members (Microsoft.Office.Interop.InfoPath)
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 following tables list the members exposed by the InfoPathEditor type.
|DataConnectionBaseUrl||Gets or sets the base URL to be used with data connection files (.UDCX).|
|Host||Gets or sets the object used to access the object model of the host application.|
|HostName||Gets or sets the name of the host application.|
|XDocument||Gets an XDocument object associated with the hosted InfoPathEditor object.|
|CloseDocument||Closes the active form in the InfoPathEditor object.|
|FlushDocument||Synchronizes the underlying data of the form with changes in the view.|
|Load||Loads a form file (.xml) into the InfoPathEditor object.|
|LoadFromStream||Loads a form file (.xml) from a file stream (System.IO.IStream) into the InfoPathEditor object.|
|NewFromSolution||Creates a new form based on a form template (.xsn) file.|
|NewFromSolutionWithData||Creates a new form based on the specified form template and the data contained in an XML stream.|
|SetInitEventHandler||Sets the event handler in the host application for handling the event that occurs when the form is loaded in the InfoPathEditor object.|
|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.|
|SetSubmitToHostEventHandler||Sets the event handler in the host application for handling the Submit method of the SubmitToHostAdapter object.|