_Application2 Members

Include Protected Members
Include Inherited Members

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeApplication.

The _Application2 type exposes the following members.

Properties

  Name Description
Public property ActiveWindow This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_Application2.ActiveWindow. (Inherited from _Application.)
Public property ActiveWindow Gets a reference to a WindowObject object that represents the currently active window.
Public property LanguageSettings This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_Application2.LanguageSettings. (Inherited from _Application.)
Public property LanguageSettings Gets a reference to the Microsoft Office LanguageSettings.
Public property MachineOnlineState Gets the current connection state of the client computer.
Public property Name This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_Application2.Name. (Inherited from _Application.)
Public property Name Gets the name of the InfoPath application.
Public property UsableHeight Gets the available screen height, the maximum number of points to which you can set the height of an InfoPath document window.
Public property UsableWidth Gets the available screen width, the maximum number of points to which you can set the width of an InfoPath document window.
Public property User Gets a reference to the UserObject object.
Public property Version This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_Application2.Version. (Inherited from _Application.)
Public property Version Gets the InfoPath version number.
Public property Windows This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_Application2.Windows. (Inherited from _Application.)
Public property Windows Gets a reference to the WindowsCollection collection.
Public property XDocuments This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_Application2.XDocuments. (Inherited from _Application.)
Public property XDocuments Gets a reference to the XDocuments collection.

Top

Methods

  Name Description
Public method CacheSolution Examines the form template in the cache and, if necessary, updates it from the published location of the form template.
Public method FormatString(Object, String, String) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_Application2.FormatString. (Inherited from _Application.)
Public method FormatString(Object, String, String) Formats the specified string or XML node according to the specified category and options parameters.
Public method IsDestinationReachable Gets a value indicating whether the specified Uniform Resource Locator (URL), universal naming convention (UNC) path, or IP address of the destination computer can be connected to from the client computer.
Public method NewADODBConnection() This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_Application2.NewADODBConnection. (Inherited from _Application.)
Public method NewADODBConnection() Creates and gets a reference to an empty ActiveX Data Objects (ADO) Connection object.
Public method NewADODBRecordset() This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_Application2.NewADODBRecordset. (Inherited from _Application.)
Public method NewADODBRecordset() Creates and gets a reference to an empty ActiveX Data Objects (ADO) Recordset object.
Public method Quit(Boolean) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, see_Application2.Quit. (Inherited from _Application.)
Public method Quit(Boolean) Quits the InfoPath application.
Public method RegisterSolution Installs the specified form template.
Public method UnregisterSolution Uninstalls the specified form template.

Top

See Also

Reference

_Application2 Interface

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace