_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
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);