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