Application.Version Property (Microsoft.Office.InfoPath)
Gets the Microsoft Office InfoPath 2007 version number.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property Version As String
'Usage
Dim instance As Application
Dim value As String
value = instance.Version
public abstract string Version { get; }
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