_Application2 Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public interface class _Application2 : Microsoft::Office::Interop::InfoPath::SemiTrust::_Application
[System.Runtime.InteropServices.Guid("096cd6bb-0786-11d1-95fa-0080c78ee3bb")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
public interface _Application2 : Microsoft.Office.Interop.InfoPath.SemiTrust._Application
type _Application2 = interface
interface _Application
Public Interface _Application2
Implements _Application
- Derived
- Attributes
- Implements
Properties
ActiveWindow |
Gets a reference to a WindowObject object that represents the currently active window. |
LanguageSettings |
Gets a reference to the Microsoft Office LanguageSettings. |
MachineOnlineState |
Gets the current connection state of the client computer. |
Name |
Gets the name of the InfoPath application. |
UsableHeight |
Gets the available screen height, the maximum number of points to which you can set the height of an InfoPath document window. |
UsableWidth |
Gets the available screen width, the maximum number of points to which you can set the width of an InfoPath document window. |
User |
Gets a reference to the UserObject object. |
Version |
Gets the InfoPath version number. |
Windows |
Gets a reference to the WindowsCollection collection. |
XDocuments |
Gets a reference to the XDocuments collection. |
Methods
CacheSolution(String) |
Examines the form template in the cache and, if necessary, updates it from the published location of the form template. |
FormatString(Object, String, String) |
Formats the specified string or XML node according to the specified category and options parameters. |
IsDestinationReachable(String) |
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. |
NewADODBConnection() |
Creates and gets a reference to an empty ActiveX Data Objects (ADO) Connection object. |
NewADODBRecordset() |
Creates and gets a reference to an empty ActiveX Data Objects (ADO) Recordset object. |
Quit(Boolean) |
Quits the InfoPath application. |
RegisterSolution(String, String) |
Installs the specified form template. |
UnregisterSolution(String) |
Uninstalls the specified form template. |