_Application3.Version property
Gets the InfoPath version number.
Namespace: Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.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
Implements
_Application2.Version
_Application.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.
Important
This member can be accessed without restrictions.
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);
thisXDocument.UI.Alert("Application version: " & _
thisApplication.Version)