Solution2.Version - Propriété

Obtient le numéro de version d'un modèle de formulaire Microsoft InfoPath.

Espace de noms :  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly :  Microsoft.Office.Interop.InfoPath.SemiTrust (dans Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntaxe

'Déclaration
ReadOnly Property Version As String
    Get
'Utilisation
Dim instance As Solution2
Dim value As String

value = instance.Version
string Version { get; }

Valeur de propriété

Type : System.String

Implémentations

Solution.Version

Remarques

Pour obtenir le numéro de version de l'application InfoPath, utilisez Version.

Important

Seuls les formulaires qui s’exécutent dans le même domaine que le formulaire actuellement ouvert ou les formulaires disposant d’autorisations inter-domaines peuvent accéder à ce membre.

Exemples

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

Voir aussi

Référence

Solution2 interface

Solution2 - Membres

Version - Surcharge

Microsoft.Office.Interop.InfoPath.SemiTrust - Espace de noms