We recommend using Visual Studio 2017

XmlFormHostItem Class

This class is a wrapper for the XmlForm class.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

The XmlFormHostItem class and its members are wrappers for the XmlForm class and its corresponding members.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.