Application.Version Property

Gets the InfoPath version number.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property Version As String
    Get
'Usage
Dim instance As Application
Dim value As String

value = instance.Version
public abstract string Version { get; }

Property Value

Type: System.String
The application version number.

Remarks

This member can be accessed without restrictions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

Examples

In the following example, the Version property used to display the version number of the application.

string appVersion = this.Application.Version;
MessageBox.Show(appVersion);
Dim appVersion As String = Me.Application.Version
MessageBox.Show(appVersion)

See Also

Reference

Application Class

Application Members

Microsoft.Office.InfoPath Namespace