Application Interface (Microsoft.Office.Interop.InfoPath.SemiTrust)
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in microsoft.office.interop.infopath.semitrust.dll)
This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, see _Application2.
Using the members of the _Application2 interface provides compatibility with InfoPath 2003. To use new members that were added to the Application object model in Office InfoPath 2007 such as the _Application3.CacheSolution method, you must cast the Application object to the _Application3 type. For more information, see How to: Use Object Model Members That Are Not Compatible with InfoPath 2003.
The Application object includes properties and methods that return references to the high-level objects of the InfoPath object model. For example, the XDocuments property returns a reference to a collection of XDocument objects.
The Application object is the top-level object in the InfoPath object model, and it provides a number of properties and methods that can be used to access lower-level collections and objects in the object model, and to perform a variety of general purpose functions.