Application.Version Property

Gets the Microsoft Office InfoPath 2007 version number.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

Syntax

'Declaration
'Usage

Property Value

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 Office InfoPath 2007.

Example

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