Upravit

Sdílet prostřednictvím


InfoPathEditor Interface

Definition

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.

public interface class InfoPathEditor
[System.Runtime.InteropServices.Guid("096CD706-0786-11D1-95FA-0080C78EE3BB")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface InfoPathEditor
type InfoPathEditor = interface
Public Interface InfoPathEditor
Derived
Attributes

Properties

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.

Methods

CloseDocument()

Closes the active form in the InfoPathEditor object.

FlushDocument()

Synchronizes the underlying data of the form with changes in the view.

Load(String)

Loads a form file (.xml) into the InfoPathEditor object.

LoadFromStream(Object)

Loads a form file (.xml) from a file stream (System.IO.IStream) into the InfoPathEditor object.

NewFromSolution(String)

Creates a new form based on a form template (.xsn) file.

NewFromSolutionWithData(String, Object, Int32)

Creates a new form based on the specified form template and the data contained in an XML stream.

SetInitEventHandler(_IInitEventHandler)

Sets the event handler in the host application for handling the event that occurs when the form is loaded in the InfoPathEditor object.

SetNotifyHostEventHandler(INotifyHostEventHandler)

Sets the event handler in the host application for handling the event that occurs when the NotifyHost(String) method of the XDocument object is used to notify the host application.

SetSubmitToHostEventHandler(ISubmitToHostEventHandler)

Sets the event handler in the host application for handling the Submit() method of the SubmitToHostAdapter object.

Applies to