Edit

Share via


_Application3.Version Property

Definition

Gets the InfoPath version number.

public:
 property System::String ^ Version { System::String ^ get(); };
public string Version { get; }
member this.Version : string
Public ReadOnly Property Version As String

Property Value

Implements

Examples

In the following example, the Version property of the Application object is used to display the application's version number in a message box:

thisXDocument.UI.Alert("Application version: " + 
   thisApplication.<span class="label">Version</span>);
thisXDocument.UI.Alert("Application version: " &amp; _
   thisApplication.<span class="label">Version</span>)

In the following example, the Version property of the Application object is used to display the application's version number in a message box:

thisXDocument.UI.Alert("Application version: " + 
   thisApplication.<span class="label">Version</span>);
thisXDocument.UI.Alert("Application version: " &amp; _
   thisApplication.<span class="label">Version</span>)

Remarks

The version number of the application does not contain the name. To obtain the name of an application, use the Name property

To obtain the version number of a form template, use the Version property.

Important: This member can be accessed without restrictions.

Applies to