Application.Version Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the InfoPath version number.
public:
abstract property System::String ^ Version { System::String ^ get(); };
public abstract string Version { get; }
member this.Version : string
Public MustOverride ReadOnly Property Version As String
Property Value
The application version number.
Examples
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)
Remarks
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.