Share via


_Application3.Name property

Gets the name of the InfoPath application.

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

Syntax

'Declaration
ReadOnly Default Property Name As String
    Get
'Usage
Dim instance As _Application3
Dim value As String

value = instance
string this { get; }

Property value

Type: System.String
The name of the application.

Implements

_Application2.Name

Remarks

The name of the application does not contain the version number. To obtain the version number of an application, use the Version property.

Examples

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

Name overload

Microsoft.Office.Interop.InfoPath namespace