_Application3.Name Property
Gets the name of the Microsoft Office InfoPath 2007 application.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)
Syntax
'Declaration
'Usage
Property Value
The name of the Microsoft Office InfoPath 2007 application.
Remarks
The name of the application does not contain the version number. To obtain the version number of an application, use the Version property.
Example
In the following example, the Alert method of the UIObject object, accessed through the XDocument object is used to display a message box that indicates the name of the application:
thisXDocument.UI.Alert("Application name: " + thisApplication.Name);
See Also
Reference
_Application3 Interface
_Application3 Members
Microsoft.Office.Interop.InfoPath Namespace