InfoPathEditorObject 接口

定义

一个可承载对象,用于将 Microsoft InfoPath 表单编辑环境集成到 中。基于 NET 的自定义应用程序。

public interface class InfoPathEditorObject : Microsoft::Office::Interop::InfoPath::InfoPathEditor
[System.Runtime.InteropServices.Guid("096CD706-0786-11D1-95FA-0080C78EE3BB")]
public interface InfoPathEditorObject : Microsoft.Office.Interop.InfoPath.InfoPathEditor
type InfoPathEditorObject = interface
    interface InfoPathEditor
Public Interface InfoPathEditorObject
Implements InfoPathEditor
派生
属性
实现

注解

此类型是用于 Coclass(托管代码需要此 Coclass 来实现 COM 互操作性)的包装。 使用此类型来访问由此 Coclass 实现的 COM 接口。 有关 COM 接口的信息(包括指向其成员说明的链接),请参阅InfoPathEditor

InfoPathEditor 编辑器对象提供各种属性和方法,用于打开和关闭表单模板以及与主机环境通信。 Microsoft.Office.InfoPath.FormControl 程序集为 提供类似的功能。基于 NET 的自定义应用程序和 Microsoft.Office.InfoPath.Server 程序集提供可承载 的 XmlFormView 控件,用于自定义网页 (.aspx) 。

有关 InfoPathEditorFormControl 对象 的详细信息,请参阅 MSDN 一文在自定义 Windows 窗体应用程序中托管 InfoPath 表单编辑环境面向 InfoPath 开发人员的新增功能。 有关在自定义网页中使用 XmlFormView 控件的详细信息,请参阅 在自定义 Web 窗体中承载 InfoPath 表单编辑环境

属性

DataConnectionBaseUrl

获取或设置用于 (数据连接文件的基 URL。UDCX) 。

(继承自 InfoPathEditor)
Host

获取或设置用于访问主机应用程序的对象模型的对象。

(继承自 InfoPathEditor)
HostName

获取或设置主机应用程序的名称。

(继承自 InfoPathEditor)
XDocument

获取与 XDocument 托管 InfoPathEditor 对象关联的 对象。

(继承自 InfoPathEditor)

方法

CloseDocument()

关闭 对象中的 InfoPathEditor 活动窗体。

(继承自 InfoPathEditor)
FlushDocument()

将窗体的基础数据与视图中的更改同步。

(继承自 InfoPathEditor)
Load(String)

将窗体文件 (.xml) 加载到 对象中 InfoPathEditor

(继承自 InfoPathEditor)
LoadFromStream(Object)

将表单文件 (.xml) 从文件流 (System.IO.IStream) 加载到 InfoPathEditor 对象中。

(继承自 InfoPathEditor)
NewFromSolution(String)

基于表单模板 (.xsn) 文件创建新表单。

(继承自 InfoPathEditor)
NewFromSolutionWithData(String, Object, Int32)

基于指定的表单模板和 XML 流中包含的数据创建新表单。

(继承自 InfoPathEditor)
SetInitEventHandler(_IInitEventHandler)

设置主机应用程序中的事件处理程序,以处理在 对象中 InfoPathEditor 加载窗体时发生的事件。

(继承自 InfoPathEditor)
SetNotifyHostEventHandler(INotifyHostEventHandler)

设置主机应用程序中的事件处理程序,以处理使用 对象的 方法XDocument通知主机应用程序时NotifyHost(String)发生的事件。

(继承自 InfoPathEditor)
SetSubmitToHostEventHandler(ISubmitToHostEventHandler)

在主机应用程序中设置事件处理程序,以处理 Submit() 对象的 方法 SubmitToHostAdapter

(继承自 InfoPathEditor)

适用于