Share via


_Application3.Version property

Gets the InfoPath version number.

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

Syntax

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

value = instance.Version
string Version { get; }

Property value

Type: System.String
The version number.

Implements

_Application2.Version

Remarks

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

To obtain the version number of a form template, use the Version property.

Examples

In the following example, the Version property of the Application object is used to display the application's version number in a message box:

thisXDocument.UI.Alert("Application version: " + thisApplication.Version);

See also

Reference

_Application3 interface

_Application3 members

Version overload

Microsoft.Office.Interop.InfoPath namespace