Application Interface

Represents the InfoPath application.

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntax

'Declaration
<GuidAttribute("096cd6bb-0786-11d1-95fa-0080c78ee3bb")> _
Public Interface Application _
    Inherits _Application2, _Application
'Usage
Dim instance As Application
[GuidAttribute("096cd6bb-0786-11d1-95fa-0080c78ee3bb")]
public interface Application : _Application2, 
    _Application

Remarks

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 InfoPath 2010 such as the _Application3.CacheSolution method, you must cast the Application object to the _Application3 type. For more information, see How to: Use Microsoft.Office.Interop.InfoPath.SemiTrust 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.

See Also

Reference

Application Members

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace