Share via


Solution2.Version property

Gets the version number of a Microsoft Office InfoPath form template.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
ReadOnly Property Version As String
    Get
'Usage
Dim instance As Solution2
Dim value As String

value = instance.Version
string Version { get; }

Property value

Type: System.String
The version number of a Microsoft Office InfoPath form template.

Implements

Solution.Version

Remarks

To obtain the version number of the InfoPath application, use Version.

Examples

thisXDocument.UI.Alert("Version: " + thisXDocument.Solution.Version);

See also

Reference

Solution2 interface

Solution2 members

Version overload

Microsoft.Office.Interop.InfoPath namespace