共用方式為


ISubmitToHostEventHandler 介面

主應用程式中必須實作的介面,當 InfoPathEditor 物件裝載於自訂應用程式中時可以處理 SubmitToHostAdapterObject 物件的 Submit 方法。

**命名空間:**Microsoft.Office.Interop.InfoPath
**組件:**Microsoft.Office.Interop.InfoPath (於 microsoft.office.interop.infopath.dll 中)

語法

'宣告
<GuidAttribute("096CD738-0786-11D1-95FA-0080C78EE3BB")> _
<InterfaceTypeAttribute(1)> _
Public Interface ISubmitToHostEventHandler
'用途
Dim instance As ISubmitToHostEventHandler
[GuidAttribute("096CD738-0786-11D1-95FA-0080C78EE3BB")] 
[InterfaceTypeAttribute(1)] 
public interface ISubmitToHostEventHandler

備註

InfoPathEditor 物件裝載於自訂應用程式時可使用 ISubmitToHostEventHandler 介面。如需詳細資訊,請參閱 InfoPath 開發人員的新功能 (英文) 中的<以控制項形式裝載的 InfoPath 編輯器>(InfoPath Editor Hosted as a Control) 一節。

請參閱

參考

ISubmitToHostEventHandler 成員
Microsoft.Office.Interop.InfoPath 命名空間