Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Version property

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:
© 2015 Microsoft