Share via


Solution2.Version Property

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

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.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

Implements

Solution.Version

Remarks

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

Important

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

Examples

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

See Also

Reference

Solution2 Interface

Solution2 Members

Version Overload

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace