次の方法で共有


Solution.Version Property

Gets the version number of a 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 Solution
Dim value As String

value = instance.Version
string Version { get; }

Property Value

Type: System.String

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

Solution Interface

Solution Members

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace