FormTemplate.Version property

Office 2013 and later

Gets the version of a form template.

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

public abstract string Version { get; }

Property value

Type: System.String
The version of the form template.

To get the version of the InfoPath application, use the Application.Version property instead.

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

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