Edit

Share via


Application.Version Property

Definition

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.

Applies to