_XDocument3.Host Property
Gets a System.Object that code running in a hosted instance of InfoPath can use to access the object model of the host application.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)
Syntax
'Declaration
'Usage
Property Value
A System.Object that represents the method defined in the host application for accessing that application's object model.
Remarks
This property is only used for scenarios where InfoPath is hosted as a control in another application and code running in InfoPath needs to access the object model of the host application. By default, the value of this property is set to null.
For a brief overview of hosting InfoPath in another application, see "The InfoPath Editor Hosted as a Control" in What's New for InfoPath Developers. For detailed information about hosting InfoPath as a control in another application, see the article titled "Hosting the InfoPath 2007 Form Editing Environment in a Custom Web Form" on the InfoPath Developer Portal on MSDN.
See Also
Reference
_XDocument3 Interface
_XDocument3 Members
Microsoft.Office.Interop.InfoPath Namespace