Export (0) Print
Expand All

Application.Version property

Gets the InfoPath version number.

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

public abstract string Version { get; }

Property value

Type: System.String
The application version number.

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.

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

string appVersion = this.Application.Version;
MessageBox.Show(appVersion);
Show:
© 2014 Microsoft